bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: Silent make check -C examples


From: Paul Eggert
Subject: Re: FYI: Silent make check -C examples
Date: Thu, 13 Oct 2005 12:48:11 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Akim Demaille <address@hidden> writes:

>>>> "Paul" == Paul Eggert <address@hidden> writes:
>
>  > Akim Demaille <address@hidden> writes:
>  >> -set +e
>  >> +test -z "$VERBOSE" && {
>  >> +   exec > /dev/null 2>&1
>  >> +}
>
>  > Don't you need to keep the "set +e"?  As I recall, some shells send
>  > diagnostics to the original stderr, even if you've redirected it with
>  > 'exec' in the mean time.
>
> I don't see the connection.  Aren't you confused with set +x?

Yes I was, sorry.

I was confused because the ChangeLog entry talks only about being
quiet, and yet the patch removed the "set +e".  Shouldn't the removal
of "set +e" have been logged as well?

Or perhaps the "set +e" should have been kept?  Presumably it was
there for a reason.  E.g.:

set +e
case $VERBOSE in
'') exec > /dev/null 2>&1 ;;
esac




reply via email to

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