bug-bash
[Top][All Lists]
Advanced

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

Re: bash tries to parse comsub in quoted PE pattern


From: Chet Ramey
Subject: Re: bash tries to parse comsub in quoted PE pattern
Date: Fri, 13 Oct 2023 16:58:27 -0400
User-agent: Mozilla Thunderbird

On 10/13/23 12:08 PM, Emanuele Torre wrote:
In a PE pattern, if the pattern has a single quoted part that contains
  $(  and does not contain a closing parenthesis, and has  \'  at the
end, bash will try to parse a command substitution and fail.

This is brace expansion. It looks like I'll have to teach it more shell
syntax.

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://tiswww.cwru.edu/~chet/




reply via email to

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