bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] git-version-gen: include command name in one more diagnostic


From: Bruce Korb
Subject: Re: [PATCH] git-version-gen: include command name in one more diagnostic
Date: Mon, 03 Jan 2011 18:15:09 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11

On 01/03/11 16:13, Eric Blake wrote:
> 
> $ /bin/sh -c 'v=`nonesuch` 2>/dev/null'
> nonesuch: not found
> $ /bin/sh -c 'v=`(nonesuch) 2>/dev/null`'
> $

$ cat bin/foo ; onallnodes /bin/sh bin/foo
uname -s -r -n
echo after exec
v=`exec 2> /dev/null
   nonesuch`
echo redirect
v=`nonesuch` 2> /dev/null


os1 --
SunOS psp-os1.ntp.org 5.11
after exec
redirect
bin/foo[7]: nonesuch: not found [No such file or directory]


deb1 --
Linux psp-deb1.ntp.org 2.6.26-2-686
after exec
redirect
bin/foo: line 7: nonesuch: command not found


fb1 --
FreeBSD psp-fb1.ntp.org 6.4-STABLE
after exec
redirect
nonesuch: not found



reply via email to

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