Date: Sun, 9 Feb 2003 18:21:33 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Doug Poland <doug@polands.org> Cc: questions@FreeBSD.ORG Subject: Re: text processing, excluding common lines Message-ID: <20030209052133.GA46926@grimoire.chen.org.nz> In-Reply-To: <20030209050856.GA55816@babylon.polands.org> References: <20030209050856.GA55816@babylon.polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 08, 2003 at 11:08:56PM -0600, Doug Poland wrote: [...] > I would like to see all the lines in fileC that are not in fileA or > fileB. In my case, I may be seraching against many files, i.e., > (A,B,C,etc...) > How about: cat fileA fileB | sort | comm -1 -3 - fileC -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- Opportunities are seldom labeled To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209052133.GA46926>