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: Chet Ramey
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 11:53:19 -0500
User-agent: Mozilla Thunderbird

On 2/3/24 10:43 PM, Oğuz wrote:

I want to make one too. Multiline commands retrieved from history can be
short-circuited like this:

   $ ls
   x  y
   $ echo '
   > rm *
   > ' >z
   $
   $ ls
   x  y  z
   $ echo ''
   rm *
   ' >z

   > ^C
   $ ls
   $

After the second invocation of `ls' I add a single quote and hit enter
accidentally, and lose all my files. I wish it didn't happen

What's the specific request here?


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