On Thu, Apr 26, 2001 at 11:39:43PM -0400, Kurth Bemis wrote:
> I need to drop dup entries from a text file....

 $ man sort

or for the short version, 

 $ cat file | sort -fui

  -f  fold keys to lowercase (ignore case)
  -u  ensure entries are unique (kill dup's)
  -i  ignore non-printable or non-ASCII chars


-- 
---------------------------------------------------
Derek Martin          |   Unix/Linux geek
[EMAIL PROTECTED]    |   GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to