autoconf
[Top][All Lists]
Advanced

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

Re: config.status - robust sed substitutions


From: Paul Eggert
Subject: Re: config.status - robust sed substitutions
Date: 26 Feb 2003 15:11:52 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

Robert Anderson <address@hidden> 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.




reply via email to

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