Per Starbäck wrote:
> Repeat-By:
> echo foo=~root => foo=/root
> echo --foo=~root=> --foo=~root
>
> In the second one there is no expansion.
>From my understanding of the manpage and the SUS the first one is
"wrong", it should not be expanded. I don't say it's
Jan Schampera wrote:
> Per Starbäck wrote:
>
>> Repeat-By:
>> echo foo=~root => foo=/root
>> echo --foo=~root=> --foo=~root
>>
>> In the second one there is no expansion.
>
> From my understanding of the manpage and the SUS the first one is
> "wrong", it should not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Chet Ramey on 12/8/2007 9:18 PM:
> You're correct that Posix doesn't say either form should be expanded.
> The first is a bash extension (and only bash -- it isn't done when bash
> is running in posix mode).
Speaking of tilde expansion an