On Wed, 2003-07-30 at 14:14, Kenneth Goodwin wrote:
> Depends on what the lines actually look like, check man/info
> pages but you  could
> 
> Try  cut -f1 filename | sort | uniq
> 
> you need to sort it first prior to UNIQ.
> 

or simply pipe it into sort -u

use sort -un if it is numeric data of differing numbers of digits

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to