go ahead... be a heretic | |
PerlMonks |
Re^3: Pulling out data from one file thats not in anotherby rubasov (Friar) |
on Apr 27, 2010 at 15:32 UTC ( [id://837132]=note: print w/replies, xml ) | Need Help?? |
There are already several tools to achieve what you want, writing your own is probably needless. A standard Unix-like solution (works under bash):
Depending on your needs you may want to use sort -u instead of a simple sort. Or if you're under some Debian-derivative distro just install the moreutils package and use combine:
Hope that helps.
In Section
Seekers of Perl Wisdom
|
|