-----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 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?

http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00038.html

Chet
- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEYEARECAAYFAlRHqq0ACgkQu1hp8GTqdKs2kQCggO9u0pCRUcv6YHGuu5H02dOh
iy0AnA5WXpVBEtV9qGg99oyYkf1iCBVg
=uzPw
-----END PGP SIGNATURE-----

Reply via email to