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

Re: sort --unique



On Sat, May 03, 2003 at 08:18:03AM -0400, Tom Allison wrote:
> Jeremy Gaddis wrote:
> >$ cat file | sort | uniq
> >j.
> >-- 
> >Jeremy L. Gaddis   <jeremy@gaddis.org>   <http://www.gaddis.org>
> >
> 
> 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

Frank

> 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'.
> 
> -- 
> : How would you disambiguate these situations?
> 
> By shooting the person who did the latter.
>              -- Larry Wall in <199710290235.SAA02444@wall.org>
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org



Reply to: