Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Remove Duplicate Lines

by rbc (Curate)
on Sep 18, 2002 at 19:01 UTC ( [id://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 :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found