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 way to do
so. Using escaping with \~ works in 4.3, but not in 4.2.

I wanted to ask if this is an expected feature/behaviour change in 4.3
or some kind of bug?


cu,
-- 
Hanno Böck
http://hboeck.de/

mail/jabber: ha...@hboeck.de
GPG: BBB51E42

Attachment: signature.asc
Description: PGP signature

Reply via email to