bug-bash
[Top][All Lists]
Advanced

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

Re: $$'...' parsing bug?


From: Chet Ramey
Subject: Re: $$'...' parsing bug?
Date: Mon, 30 Jan 2017 15:50:31 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 1/30/17 10:31 AM, Christian Weisgerber wrote:
> This came up on comp.unix.shell: 
> There appears to be a parsing problem in bash where the sequence
> $$'...' is treated as $'...', and $$"..." as $"...", when inside
> $(...).

Yes, this is a problem.  Thanks for the report. I've attached a one-line
patch that fixes it.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: parse-comsub-wasdol.patch
Description: Source code patch


reply via email to

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