Hi Eric,

* Eric Blake wrote on Mon, Oct 27, 2008 at 05:44:03PM CET:
> $ foo=; printf 'abc' > file; read foo < file; echo $? $foo
> 1 abc
> 
> Does anyone know of a shell where this patch would fail (either because the 
> shell spits out an error message, or because foo is unpopulated due to the 
> nonzero status)?

Solaris 2.10 dtksh will print
1 ab

Tru64/OSF1 dtksh will print
0

These shells are not reasonable targets of current configure scripts,
but I wonder whether it's worth the hassle of potential problems with
shells on less-used systems.

Cheers,
Ralf


Reply via email to