On Wed, 2003-02-26 at 15:11, Paul Eggert wrote:
> Robert Anderson <[EMAIL PROTECTED]> writes:
> 
> > _quote_for_sed()
> > {
> >     cat<<_ACEOF | sed -e 's,[\&,],\\&,g'
> > $1
> > _ACEOF
> > }
> 
> Many shell implementations are extremely slow with here-documents.
> Some are even buggy, e.g. SunOS 4.1.4 /bin/sh, and this has caused
> problems with existing Autoconf-generated configure scripts.  We
> should try to avoid them.

I count 47 here-documents in autoconf/lib:

% find . -name \*.m4 | xargs egrep "<<[\]?_" | wc -l
    47

the majority of which are used to generate config.status.  Call me
stubborn but I can't see one more being a deal breaker (given the
alternatives).

Bob



Reply via email to