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

Re: sort --unique

Bob Paige wrote:
I have a list of items in a text file that I want sorted and 'uniquified'. In a previous install, the version of sort had an option '--unique' that would output a unique list. The version I'm running now doesn't have that. (Mine is from GNU textutils 2.0)

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

Thanks for all the responses. 'uniq' does exactly what I need.

Also, the '-u' option on sort works also; the man page doesn't make it sound like it makes the output unique, though.


Reply to: