This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ configure time
Richard Henderson <rth@redhat.com> writes:
|> On Mon, Mar 19, 2001 at 10:48:57AM +0100, Andreas Schwab wrote:
|> > ... on some systems echo interprets backslash sequences.
|>
|> Is there a way to turn it off on these systems (eg echo -- '\n')?
I don't think so. SUS2 says:
It is not possible to use echo portably across all systems that
are not XSI-conformant unless both -n (as the first argument) and
escape sequences are omitted.
[...]
New applications are encouraged to use printf instead of echo.
XSI-conformat echo both recognizes no options and always interprets
escape sequences.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5