On April 22, 2014 3:50:48 PM CDT, Stefan Johnson <[email protected]> 
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 <
>[email protected]> wrote:
>
>> 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:[email protected]]
>> LinkedIn: http://it.linkedin.com/in/delaurenzis

...or just delete it before saving and exiting?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to