autoconf-patches
[Top][All Lists]
Advanced

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

Re: Proposed doc updates


From: Ralf Wildenhues
Subject: Re: Proposed doc updates
Date: Thu, 27 Jan 2005 17:02:27 +0100
User-agent: Mutt/1.4.1i

Forgot half a sentence, sorry.

* Ralf Wildenhues wrote on Thu, Jan 27, 2005 at 04:55:40PM CET:
> My comment was: Besides ash, some Bourne shells also output the error
> with
>   nonexistent 2>/dev/null
> , but they do accept
>   { nonexistent; } 2>/dev/null
> and do not output anything with it.  They do fork for the { }, though.

That is, if the redirection is applied:
$ { foo=bar; } 2>/dev/null              # SVR4 based Bourne shell
$ echo $foo
$

> Most newer shells don't fork for the { }, so that gives us a speed
> advantage when using { ...; } rather than ( ...).

Regards,
Ralf




reply via email to

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