From: Rich Glazier <rglazier2002@yahoo.com>
To: Tru64-UNIX-Managers@ornl.gov
Subject: difference between two files
Date: Mon, 07 Jun 2010 11:21:52 -0700 (PDT) [thread overview]
Message-ID: <906752.60554.qm@web112404.mail.gq1.yahoo.com> (raw)
I have two files something like this:
file 1
-------
1
2
4
5
6
8
9
file2
-----
1
2
3
4
5
6
7
8
9
i want to strip out only what's different in file 2 from file 1. the output would only be 3 and 7. i've tried using diff, sort, uniq, and comm but can't quite seem to get what i need.
any thoughts?
thanks!!
-Rich
next reply other threads:[~2010-06-07 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-07 18:21 Rich Glazier [this message]
2010-06-08 22:07 ` SUMMARY: difference between two files Rich Glazier
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox