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: dd :wq For multiline: dG :wq Or you could comment it out. Andy -- TAI64 timestamp: 4000000053576832

