[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-expand-line working strangely without shebangs
From: |
Chet Ramey |
Subject: |
Re: shell-expand-line working strangely without shebangs |
Date: |
Mon, 5 Aug 2024 13:41:02 -0400 |
User-agent: |
Mozilla Thunderbird |
On 8/5/24 4:57 AM, Jae Juang wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
In bash, the very useful shell-expand-line (`M-C-e`) expands command substitutions to
their contents, on the current line. However, this works very strangely for commands
without shebangs. Symptoms further described in "Repeat-By" section.
Hi. Thanks for the report. This is the same issue as reported in
https://lists.gnu.org/archive/html/bug-bash/2024-01/msg00095.html
The fix is described in
https://lists.gnu.org/archive/html/bug-bash/2024-01/msg00101.html
and has been in the devel git branch since late January.
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/
OpenPGP_signature.asc
Description: OpenPGP digital signature