Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Remove Duplicate Lines

by afoken (Chancellor)
on Aug 01, 2019 at 19:47 UTC ( [id://11103725]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sort -u < inputfile > outputfile
    
  2. or download this
    head -n 1 inputfile > outputfile
    sed '1d' inputfile | sort -u >> outputfile
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found