[Xml-logilab] xmldiff exit status?
Tue, 24 Sep 2002 11:38:04 -0700 (PDT)
hmm...that doesn't seem to be happening. if one or both of the input files
does not exist, then the exit status is still 0. when both of the file names
are legitimate, then the exit status does appear to give me the number of
--- Sylvain Thénault <Sylvain.Thenault@logilab.fr> wrote:
> On Sunday 22 September à 02:18, Doug Tomm wrote:
> > hello,
> > does xmldiff provide a different exit status depending
> > on whether there were diffs in its inputs? it appears
> > to be giving a 0 status whether there were diffs or
> > not. i would like to be able to use xmldiff in a
> > shell script and simply determine whether any diffs
> > exist or not. is there a simple way to do this?
> I've included this feature in the latest version of xmldiff available
> from logilab's ftp site. Now, xmldiff return a number < 0 in case of
> error and the number of differences in other cases
> Sylvain Thénault
> LOGILAB http://www.logilab.org
> Xml-logilab mailing list
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!