bug-bash
[Top][All Lists]
Advanced

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

Tilde expansion in ${var/x/y}


From: Jo Liss
Subject: Tilde expansion in ${var/x/y}
Date: Sun, 20 Apr 2014 13:09:35 -0700 (PDT)
User-agent: G2/1.0

After upgrading to Ubuntu 14.04, Bash 4.3.8 expands the tilde in 
search-and-replace patterns:

$ a=x; echo "${a/x/~}"
/home/ubuntu

Is this an intentional change, or is it a bug?

Cheers,
Jo


reply via email to

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