Re: sort
On Tue, May 28, 2002 at 03:42:13PM -0400, Hubert Chan wrote:
> >>>>> "Rick" == Rick Pasotto <rick@niof.net> writes:
>
> Rick> Have you looked at 'uniq'?
>
> uniq still needs the lines to be sorted:
>
> # man uniq
>
> [...]
>
> NAME
> uniq - remove duplicate lines from a *sorted* file
>
> [...]
>
> (emphasis mine)
Not really. It will remove adjacent duplicate lines whether or not the
file is sorted. For example, it will compress multiple blank lines to
single blank lines throughout a file. The title is wrong.
--
"Television: chewing gum for the eyes."
-- Frank Lloyd Wright
Rick Pasotto rickp@telocity.com http://www.niof.net
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- References:
- sort
- From: O Senhor <osenhor@uol.com.br>
- Re: sort
- From: Rick Pasotto <rick@niof.net>
- Re: sort
- From: Hubert Chan <hubert@uhoreg.ca>