[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash stays in the secondary prompt (PS2) after completing a command
Re: Bash stays in the secondary prompt (PS2) after completing a command with `edit-and-execute-command'
Fri, 12 May 2017 09:49:08 -0500
On Fri, May 12, 2017 at 9:44 AM, Eduardo Bustamante <address@hidden> wrote:
> - dash (compiled with libedit support): If you type <echo '> then
> return, then ESC-v, it will open the editor on an empty file, and...
> well, it nothing of what it does really makes sense.
> - NetBSD's /bin/sh: if you run the `v' command while under the
> secondary prompt, it will open an editor, but discards what you write
> after the editor exits and returns back to the secondary prompt state.
Small correction, these two behave in the same way.