Re: OT: Script Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Larry Martell wrote:
> On Thu, May 30, 2013 at 9:42 AM,  <m.roth@xxxxxxxxx> wrote:
>> Larry Martell wrote:
>>> On Thu, May 30, 2013 at 8:37 AM,  <m.roth@xxxxxxxxx> wrote:
>>>> Tilman Schmidt wrote:
>>>>> Am 18.05.2013 21:23, schrieb Larry Martell:
>>>>>> cat file | sed -e's/CN=DATA.OU=\(.*\)\.O=CO/CN=\1_DATA.OU=\1.O=CO/'
>>>>>
>>>>> http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat
>>>>>
>>>>> Because a cat is a terrible thing to waste.
>>>>>
>>>> Without even reading the wikipedia piece, I can give my own annoyance
>>>> with anyone using cat to pipe through sed, or awk, or perl.... To me,
>>>> that
>>>> says they don't know their tools.
>>>
>>> I am 53 and I have programming since I was 16. I've been using
>>> Unix/Linux since 1977 and I've been gainfully employed since 1979
>>> (never at a job where I had to use Windows). So I assure you I know
>>> what I am doing.
>>
>> So why cat | sed?
>
> I really don't see why that is a big deal.

You, personally, fail to see, that is, don't comprehend, in what manner
that, perhaps, might possibly be a pointless and unnecessary, that is, an
action performed for no good reason, such as hand-washing a car that one
intends to run through a car wash...?

        mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux