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

Re: sort --unique



Bob Paige <bobman@Iname.com> writes:

> 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)

Every sort I've ever used (even non-GNU sorts) supports 'sort -u'; try
the short option over the long.  Checking on a woody box, it looks
like older GNU sorts also support -u but not --unique.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: