[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 10:13:42AM -0400, Matt Zimmerman wrote:
> On Thu, Aug 14, 2003 at 10:56:50PM +0200, Stefan Gybas wrote:
> 
> > I've written a little script to compare the contents of two JARs. I've 
> > used it compare Debian packages with upstream binaries so I know that 
> > the build process worked fine, for example when using CDBS or Ant and 
> > Kaffe from main.
> > 
> > I'm posting this here so it's not lost in case I have a harddisk crash - 
> > but on the other hand someone might find it useful. ;-)
> 
> 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.

-billy.

-- 
Meisterbohne   Meisterbohne GbR, Küfner, Mekle, Meier   Tel: +49-731-399 499-0
   eLösungen   Söflinger Straße 100                     Fax: +49-731-399 499-9
               89077 Ulm                           http://www.meisterbohne.de/

Attachment: jardiff.sh
Description: Bourne shell script


Reply to: