Re: sort --unique
On Sat, May 03, 2003 at 08:18:03AM -0400, Tom Allison wrote:
> Jeremy Gaddis wrote:
> >$ cat file | sort | uniq
> >Jeremy L. Gaddis <email@example.com> <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
> 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 firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact