bug-bash
[Top][All Lists]
Advanced

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

Re: Unexpected behavior of single quotes when used in the patsub PE.


From: Chet Ramey
Subject: Re: Unexpected behavior of single quotes when used in the patsub PE.
Date: Mon, 01 Apr 2013 11:22:14 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/20/13 5:56 PM, Eduardo A. Bustamante López wrote:

> Bash Version: 4.3
> Patch Level: 0
> Release Status: alpha
> 
> Description:
>   The rules for escaping single quotes inside the
>   pat and rep arguments are somehow fuzzy. There's a difference
>   between what I expected to work, and how really bash treats strings
>   there. 

Thanks.  After some investigating, I ended up with a close variant of
your proposed patch.  It will be in bash-4.3.

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

iEYEARECAAYFAlFZpiUACgkQu1hp8GTqdKv0dQCgn09ZVMimDtUa7+v4y9L8cah1
8KgAoJa2rWKeg+Z1ugpC6zDyYoMjanVn
=mesM
-----END PGP SIGNATURE-----



reply via email to

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