help-bash
[Top][All Lists]
Advanced

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

Re: Line continuation and pipes within command substitution and process


From: Chet Ramey
Subject: Re: Line continuation and pipes within command substitution and process substitution
Date: Sun, 11 Jul 2021 15:00:05 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 7/9/21 5:05 PM, Robin A. Meade wrote:
I ran into an interesting difference in behavior between bash-4.4 and bash 5.0 involving line continuation and pipes within command/process substitutions.

Thanks for the report. This is a consequence of the ad-hoc parsing for
command substitution that bash used until up about a month ago. I changed
it to call the parser (yyparse()) recursively to parse command and process
substitutions, and this case works fine now.

--
``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]