On 10/14/25 11:00 PM, Grisha Levit wrote:
Calling shell-forward-word in front of an incomplete quoted command substitution causes a parser error to be printed, which is followed by an incomplete redisplay:$ "$(" ^A\e^F bash: command substitution: line 2: unexpected EOF while looking for matching `"' even when the word is single-quoted: $ '$(' ^A\e^F bash: command substitution: line 3: unexpected EOF while looking for matching `'' There might be a more general fix but this patch seems to work.
Thanks for the report. I do have a more general fix in mind, but we'll
start with this case.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
