autoconf-patches
[Top][All Lists]
Advanced

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

Re: `cat` vs. read


From: Ralf Wildenhues
Subject: Re: `cat` vs. read
Date: Mon, 27 Oct 2008 23:36:52 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* Eric Blake wrote on Mon, Oct 27, 2008 at 11:11:38PM CET:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> 
> > > $ foo=; printf 'abc' > file; read foo < file; echo $? $foo
> > > 1 abc

> > Solaris 2.10 dtksh will print
> > 1 ab
> > 
> > Tru64/OSF1 dtksh will print
> > 0
> 
> Thanks for the research.  Do either of these two shells pass the required 
> shell 
> function tests?

The Solaris one prints "as_func_failure succeeded.", the OSF one won't
run the configure script at all, for more than a few lines.

Your proposed workaround sounds like a nice idea to me; and you'll have
more w32 experience anyway.

Cheers,
Ralf




reply via email to

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