[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: echo "enhancement" leads to confused legacy script tools...
From: |
Paul Eggert |
Subject: |
Re: echo "enhancement" leads to confused legacy script tools... |
Date: |
Mon, 20 Mar 2006 10:07:09 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
> But note that bash interprets -n as an option, which is not compliant with
> XSI.
Bash doesn't claim conformance to XSI, so that's OK as far as Bash is
concerned. Autoconf (and I assume Squid) is supposed be portable to
all POSIX hosts, not merely POSIX+XSI hosts, so it should work with
Bash; so this is still a bug in either Autoconf or Squid, not in Bash.
There's a little history here. POSIX 1003.2-1992 said that echo has
implementation-defined behavior if given any options, or if any
operands contain '\'. This allows both traditional (echo -n) and
System V (backslash) interpretation.
SUSv2 came down squarely on the System V side.
But the BSD folks revolted on this, and POSIX 1003.1-2001 reverted to
the POSIX 1003.2-1992 spec, with the compromise of putting the System
V stuff into the XSI ghetto.
- Re: echo "enhancement" leads to confused legacy script tools..., (continued)
- Re: echo "enhancement" leads to confused legacy script tools..., Henrik Nordstrom, 2006/03/21
- bad m4 quotation? (was: echo "enhancement" leads to confused legacy script tools...), Ralf Wildenhues, 2006/03/27
- Re: bad m4 quotation? (was: echo "enhancement" leads to confused legacy script tools...), Stepan Kasal, 2006/03/28
- Re: bad m4 quotation?, Ralf Wildenhues, 2006/03/28
- Re: bad m4 quotation?, Stepan Kasal, 2006/03/28
- Re: bad m4 quotation?, Stepan Kasal, 2006/03/29
- AX_PREFIX_CONFIG_H and m4 quoting (was: bad m4 quotation?), Ralf Wildenhues, 2006/03/30
- Re: echo "enhancement" leads to confused legacy script tools..., Chet Ramey, 2006/03/31
- Re: echo "enhancement" leads to confused legacy script tools..., Henrik Nordstrom, 2006/03/20
Re: echo "enhancement" leads to confused legacy script tools..., Andreas Schwab, 2006/03/22
Re: echo "enhancement" leads to confused legacy script tools..., Chet Ramey, 2006/03/28
Re: echo "enhancement" leads to confused legacy script tools..., Andreas Schwab, 2006/03/23