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

Re: sort --unique



Frank Gevaerts wrote:
> Tom Allison wrote:
> > I think in the procmail man pages there are some examples of what they 
> > call, "Useless use of cat".  I often fall guilty to this same use of 'cat'.
> > Wouldn't it be $ sort file | uniq > output
> or sort < file |uniq
> 
> I always use cat in examples, because it shows the pipeline you can use
> if the input does not come from a file

But do you really want to be encouraging poor programming practices in
your examples by useless use of cat?  Shouldn't you try to set a good
example in your examples?

Bob

Attachment: pgpGOyR4HyEQl.pgp
Description: PGP signature


Reply to: