Re: echo "enhancement" leads to confused legacy script tools...
From:
Stepan Kasal
Subject:
Re: echo "enhancement" leads to confused legacy script tools...
Date:
Sat, 1 Apr 2006 18:33:14 +0200
User-agent:
Mutt/1.4.1i
Hello,
On Fri, Mar 31, 2006 at 01:28:37PM -0500, Chet Ramey wrote:
> [...] I don't think that \x introducing hex constants
> is as big a problem (it may not be a problem at all).
well, that makes `\x' yet another sequence which can surprise the user:
it changes to something else, _if_ it is followed by a digit.
And if you require the leading zero for octal escape sequences, it looks
as an inconsistency if "\0x" is not required for hexadecimal ones.
Have a nice day,
Stepan