Computing.Net > Forums > Unix > How to delete duplicate lines ??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to delete duplicate lines ??

Reply to Message Icon

Name: abcnews
Date: December 24, 2008 at 15:57:18 Pacific
OS: HP-UX
CPU/Ram: kkk
Product: Kkk / KKK
Comment:

URGENT HELP NEEDED...

I need to know how to delete duplicate lines from a pipe delimited file (ksh).
it should check only the 1st field for any duplicate entries & if finds any should delete those duplicate rows completely.
I CANNOT DO A SORT.

any ideas ??



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: How to delete duplicate lines ??

How to delete a file named -x www.computing.net/answers/unix/how-to-delete-a-file-named-x/3350.html

to remove duplicate lines from file www.computing.net/answers/unix/to-remove-duplicate-lines-from-file/7011.html

Delete all lines containing pattern www.computing.net/answers/unix/delete-all-lines-containing-pattern/4499.html