bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assignment-like word shouldn't be subjected to tilde expansion in PO


From: Chet Ramey
Subject: Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode
Date: Sat, 18 Jul 2020 18:04:37 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/18/20 1:38 AM, Oğuz wrote:
> See:
> 
>     $ set +k -o posix
>     $ echo foo=~:~
>     foo=~:/home/oguz
> 
> If I'm not misreading the standard `foo=~:~' should be printed
> verbatim, all shells I have except bash does so.

Thanks for the report. This one has been around since bash-3.1.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]