bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.61a: spurious testsuite failure


From: Ralf Wildenhues
Subject: Re: autoconf 2.61a: spurious testsuite failure
Date: Wed, 28 Mar 2007 17:57:59 +0200
User-agent: Mutt/1.5.14 (2007-03-22)

Hi Stepan,

* Stepan Kasal wrote on Wed, Mar 28, 2007 at 05:41:35PM CEST:
> 
> echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
[...]
> BTW, could the same have been achieved by the following?
> 
>      sed 99q >conftest.sed <<_ACEOF
> $ac_script
> _ACEOF

Probably.  But here-documents are _very_ expensive for old shells (the
number of links created grows with complexity of surrounding script
even), and mildly expensive even for some new shells (creation and
removal of a temp file).  Redirections of file descriptors are very
cheap, for any shell I know (a syscall or two).

Cheers,
Ralf




reply via email to

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