Hello,
I'm wondering how I could discard (not execute) a line after having
loaded it into vi (fc -e vi, or "v" for brevity in vi-mode).
:wq, :q, :q! - all of them execute the line.
I'm feeling really stupid...
--
Alessandro DE LAURENZIS
[mailto:just22@gmail.com]
LinkedIn: http://it.linkedi
I've always just tossed a comment onto the line before exiting vi edit mode
to prevent execution...
On Tue, Apr 22, 2014 at 2:46 PM, Alessandro DE LAURENZIS <
just22@gmail.com> wrote:
> Hello,
>
> I'm wondering how I could discard (not execute) a line after having
> loaded it into vi (fc -e
On April 22, 2014 3:50:48 PM CDT, Stefan Johnson
wrote:
>I've always just tossed a comment onto the line before exiting vi edit
>mode
>to prevent execution...
>
>
>On Tue, Apr 22, 2014 at 2:46 PM, Alessandro DE LAURENZIS <
>just22@gmail.com> wrote:
>
>> Hello,
>>
>> I'm wondering how I could
Alessandro DE LAURENZIS writes:
> Hello,
>
> I'm wondering how I could discard (not execute) a line after having
> loaded it into vi (fc -e vi, or "v" for brevity in vi-mode).
>
> :wq, :q, :q! - all of them execute the line.
>
> I'm feeling really stupid...
The file initially contains the origi
Thus said Alessandro DE LAURENZIS on Tue, 22 Apr 2014 21:46:57 +0200:
> I'm wondering how I could discard (not execute) a line after having
> loaded it into vi (fc -e vi, or "v" for brevity in vi-mode).
Delete the command like you would any other line in vi that you don't
want saved anymore
5 matches
Mail list logo