[PLUG] Re: Okay after awk I need....

Steve D... blitters at gmail.com
Mon May 9 21:52:15 UTC 2005


Aaron wrote:
> On Sat, May 07, 2005 at 06:03:06AM -0700, Randal L. Schwartz wrote:
> > >>>>> "Steve" == Steve D <blitters at gmail.com> writes:
> >
> > Steve> cat names.txt | sed -e "s/^.*@//" | tee all.txt | sed -e
> > Steve> "s/\(.*\)\.\(.*\)\.\(.*$\)/\2\.\3/" > domain.txt
> >
> > If this had been comp.unix.questions, you would have been the
> > winner of this week's "Useless Use Of Cat" award.
> > <http://laku19.adsl.netsonic.fi/era/unix/award.html>
> 
> Wow.  ~100 characters to criticize the use of 3.  And at least the 3
> characters improve readability IMHO.

   I agree that UUOC should be avoided if interferes with the
functionality or performance of the code.  Otherwise, it's a style
thing.  There is more that one way to do it.
 
  And Randal...  Criticism without code is worthless crap.  You should
know better.

Steve D...



More information about the PLUG mailing list