bug-bash
[Top][All Lists]
Advanced

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

Re: Feature request: prompt strings in output from edit-and-execute-comm


From: Oğuz
Subject: Re: Feature request: prompt strings in output from edit-and-execute-command readline function ( was About `M-C-e` expand result `'` failed )
Date: Tue, 6 Feb 2024 20:39:23 +0200

On Tuesday, February 6, 2024, Chet Ramey <chet.ramey@case.edu> wrote:
>
> What's the specific request here?
>

That bash interpret multiline commands retrieved from command history as a
whole and not run the rest of the lines as separate commands when the first
line is changed. Try it yourself; run a multiline command, recall it and
edit the first line to introduce a syntax error and hit enter. Does it look
right? Wouldn't it be much better if the entire command were discarded?


-- 
Oğuz


reply via email to

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