On 5/4/17 5:00 PM, Ángel wrote:

> No. IMHO the fix would be to expand ~ at assignment time, even when
> quoted, ie. PATH='~/bin' would be equivalent to PATH=~/bin

No. The semantics of expansion in quoted strings are well defined.
Performing tilde expansion on a quoted string in an assignment statement,
even if restricted to PATH, would definitely be a bug.

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

Reply via email to