Andreas Schwab <schwab@xxxxxxx> wrote: > Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> writes: > >> $ touch a && chmod -w a >> $ sh -c '{ echo foo; } > a'; echo $? >> sh: a: Permission denied >> 0 > > There is a cheap workaround: > > $ sh -c ':; { :; } > a; echo $?' > sh: a: Permission denied > 1 Nice! _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf