On Tue, May 28, 2002 at 03:42:13PM -0400, Hubert Chan wrote:
> >>>>> "Rick" == Rick Pasotto <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://www.niof.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]