[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 <schwab@suse.de> 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: [squid-users] Re: my "CPPUNIT" is "broken"... ;-) ?, Linda W, 2006/03/23
- Re: [squid-users] Re: my "CPPUNIT" is "broken"... ;-) ?, Henrik Nordstrom, 2006/03/23
- Re: echo "enhancement" leads to confused legacy script tools..., Linda W, 2006/03/23
- Re: echo "enhancement" leads to confused legacy script tools..., Paul Eggert, 2006/03/20
- Re: echo "enhancement" leads to confused legacy script tools..., Andreas Schwab, 2006/03/20
- Re: echo "enhancement" leads to confused legacy script tools...,
Paul Eggert <=
- Re: echo "enhancement" leads to confused legacy script tools..., Andreas Schwab, 2006/03/20
- Re: echo "enhancement" leads to confused legacy script tools..., Paul Eggert, 2006/03/27
- Re: echo "enhancement" leads to confused legacy script tools..., Eric Blake, 2006/03/28
- Re: echo "enhancement" leads to confused legacy script tools..., Chet Ramey, 2006/03/20
- Re: echo "enhancement" leads to confused legacy script tools..., Henrik Nordstrom, 2006/03/23
- Re: echo "enhancement" leads to confused legacy script tools..., Paul Eggert, 2006/03/19
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: echo "enhancement" leads to confused legacy script tools..., Linda W, 2006/03/27
- Re: echo "enhancement" leads to confused legacy script tools..., Ralf Wildenhues, 2006/03/27
- Re: echo "enhancement" leads to confused legacy script tools..., Ralf Wildenhues, 2006/03/23
- Re: echo "enhancement" leads to confused legacy script tools..., Ralf Wildenhues, 2006/03/23