[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: echo "enhancement" leads to confused legacy script tools...
From: |
Andreas Schwab |
Subject: |
Re: echo "enhancement" leads to confused legacy script tools... |
Date: |
Mon, 20 Mar 2006 20:26:15 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Paul Eggert <eggert@CS.UCLA.EDU> writes:
> 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.
I understand that. It doesn't even conform to POSIX (in the default
configuration), since it also interprets -E and -e as options.
> There's a little history here. POSIX 1003.2-1992 said that echo has
> implementation-defined behavior if given any options, or if any
Are you sure about "any option"? The current spec only talks about -n.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- 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, 2006/03/20
- Re: echo "enhancement" leads to confused legacy script tools...,
Andreas Schwab <=
- 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
- Re: echo "enhancement" leads to confused legacy script tools..., Henrik Nordstrom, 2006/03/23