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

Re: sort --unique



Jeremy Gaddis wrote:
Bob Paige writes:

Where can I either get a different version of 'sort', or otherwise 'uniquifiy' my text file?


$ cat file | sort | uniq
j.
--
Jeremy L. Gaddis   <jeremy@gaddis.org>   <http://www.gaddis.org>


Wouldn't it be $ sort file | uniq > output

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>



Reply to: