[Top][All Lists]

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

Re: [wdiff-bugs] redirecting wdiff output inside a script

From: Martin von Gagern
Subject: Re: [wdiff-bugs] redirecting wdiff output inside a script
Date: Fri, 01 Apr 2011 15:02:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110331 Lightning/1.0b3pre Thunderbird/3.1.9

Dear Steffan,

I believe I've got a pretty good idea now what's happening. I'd guess
that your different shells set up their PATH environment variable in
different ways, so that bash and sh don't have diff in their path.
Current wdiff does a pretty bad job in terms of error reporting there:
it neither prints a message when it fails to start diff, nor does it
handle the exit status of diff in any way. Will write a fix for this
soon, which should at least give better error messages.

In the mean time, you could see whether your script is capable of
running diff without a full path, and if not, you could export an
adjusted PATH to take care of this. And of course you could simply echo
$PATH within the script, to get a look at what's going on there.

 Martin von Gagern

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]