Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Remove Duplicate Lines

by rbc (Curate)
on Sep 18, 2002 at 19:01 UTC ( #198964=note: print w/ replies, xml ) Need Help??

in reply to Remove Duplicate Lines

If you are on a Unix system that has a sort command that
supports the -u switch ( -u implies Unique ) you could do this

$ sort -u db.txt > outdb.txt
I know that Solaris's sort has -u and Red Hats cygwin does not.
I hope that helps :)

Comment on Re: Remove Duplicate Lines
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://198964]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2015-11-27 01:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls