Hi Eric, and thanks for the patch.  A couple of small nits:

* Eric Blake wrote on Tue, May 11, 2010 at 04:06:00PM CEST:
> --- a/doc/autoconf.texi
> +++ b/doc/autoconf.texi
> @@ -14793,6 +14793,18 @@ File Descriptors
>  @samp{: `cd /zorglub` 2>/dev/null} expect the error message to
>  escape, while @samp{: `cd /zorglub 2>/dev/null`} works properly.
> 
> +On the other hand, some shells, such as Solaris or FreeBSD
> +...@command{/bin/sh}, warn about missing programs before performing
> +redirections.  Therefore, to silently check whether a program exists, it
> +is necessary to perform redirections on a subshell:
> +
> +...@example
> +$ @kbd{/bin/sh -c 'nosuch 2>/dev/null}

Missing closing '.

> +nosuch: not found
> +$ @kbd{/bin/sh -c '(nosuch) 2>/dev/null}

Likewise.

> +$ @kbd{bash -c 'nosuch 2>/dev/null'}
> +...@end example

Cheers,
Ralf

Reply via email to