[CentOS] OT: Script Help

m.roth at 5-cent.us m.roth at 5-cent.us
Thu May 30 14:37:42 UTC 2013


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.

       mark "besides, my cat doesn't like it, either, meeerroowwwww...."




More information about the CentOS mailing list