-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/22/14, 4:20 AM, Hanno Böck wrote:
> Hello,
>
> I experienced a somewhat unexpected behaviour change in bash 4.3
> comparing to 4.2.
>
> This is a reduced sample:
> export a='x'; echo "${a/x/~}"
>
> On bash 4.3 this will result in the user's ho
Hanno Böck writes:
> This is a reduced sample:
> export a='x'; echo "${a/x/~}"
>
> On bash 4.3 this will result in the user's homedir path. On 4.2 this
> will result in a ~.
> If one wants to get a "~" char there seems no easy portable way to do
> so. Using escaping with \~ works in 4.3, but not
On Wed, Oct 22, 2014 at 10:20:04AM +0200, Hanno Böck wrote:
> export a='x'; echo "${a/x/~}"
>
> On bash 4.3 this will result in the user's homedir path. On 4.2 this
> will result in a ~.
> If one wants to get a "~" char there seems no easy portable way to do
> so. Using escaping with \~ works in 4
Hello,
I experienced a somewhat unexpected behaviour change in bash 4.3
comparing to 4.2.
This is a reduced sample:
export a='x'; echo "${a/x/~}"
On bash 4.3 this will result in the user's homedir path. On 4.2 this
will result in a ~.
If one wants to get a "~" char there seems no easy portable w