[Gllug] Command-line tools for comparing lists
John Hearns
john.hearns at streamline-computing.com
Thu May 19 12:49:51 UTC 2005
On Thu, 2005-05-19 at 13:41 +0100, Tom Schutzer-Weissmann wrote:
> Another question, and no silly M$ess to crow over either, soz
>
> I'm looking for command-line tools for comparing lists. For example, to
> find all the lines in a file that also appear in another file, or don't
> appear in another file. Are there some well-established ones, or do
> people just use a bit of Perl / Python / their own poison?
I was going to say use sort and diff,
but comm looks to be the utility you want.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list