[HPADM] SUMMARY: sort / unique question

From: Copeland, Daniel (Daniel.Copeland@alcoa.com)
Date: Wed Oct 30 2002 - 10:09:28 EST


Admins,

Sorry about the delayed summary (I've been away for a while).

Thanks to Anand Hotchandani, Ed Guenther, Bruno Hautecoeur, and Bill Hassell

Below are the suggestions:
sort -u -n -k 4,4 <filename>

u ---- unique
n ---- numeric
k ---- key

sort -n -k # | uniq | sort -n

sort -nk5 YourFileName | uniq

Thanks,
Dan

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:21 EDT