[squid-users] Re: echo "enhancement" leads to confused legacy script tools...

From: Linda W <[email protected]>
Date: Sat, 18 Mar 2006 17:09:31 -0800

Henrik Nordstrom wrote:
> lör 2006-03-18 klockan 14:15 -0800 skrev Linda W:
>
>> Bash added the "feature" to allow dropping of the leading
>> "0", accepting strings: "\0nnn", "\nnn", and "\xHH". I'm guessing that
>> most bash users run in a shell that has expansion turned off by default or
>> this would have come up before.
>
> the xpg_echo bash option..
>
> Lets see what this does to configure shall we.. oh, yes it fails
> miserably with this bash option set.
>
> please send this to the autoconf maintainers as well. Probably they can
> add a rule detecting this kind of systems and falling back on an
> alternative somewhat slower echo method..
>
> Regards
> Henrik
--------
I believe bash is broken in regards to using "any" number after
"\" as an octal value. The shell specifications require the leading
zero for an octal constant and I don't think this problem would arise
if that was fixed. I can forward the info to them anyway.
Received on Sat Mar 18 2006 - 18:09:43 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST