[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Script to compare the contents of two JARs



On Fri, Aug 15, 2003 at 04:35:00PM +0200, Philipp Meier wrote:

> On Fri, Aug 15, 2003 at 10:13:42AM -0400, Matt Zimmerman wrote:
> > This sounds useful.  I think it could be simplified to use comm(1) rather
> > than parsing a unified diff, though.
> 
> grep -f is more useful. See attached script.

How is "grep -Fxvf $tempfile2 $tempfile1" more useful than
"comm -23 $tempfile1 $tempfile2", exactly?

-- 
 - mdz



Reply to: