Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: find unique lines in two files

by Linicks (Scribe)
on Oct 28, 2016 at 12:34 UTC ( [id://1174888]=note: print w/replies, xml ) Need Help??


in reply to find unique lines in two files

If you are on a linux base, why re-invent the wheel?

man uniq

Nick

Replies are listed 'Best First'.
Re^2: find unique lines in two files
by Phenomanan (Monk) on Oct 28, 2016 at 13:24 UTC

    I think this is the best answer. Better to use an existing solution than to program it yourself. You can also use a series of greps or a diff as an alternative to uniq, depending on exactly what you are trying to do. Check out this relevant link.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-26 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found