[Sussex] vi
Jon Greenwood
jon.a.greenwood at googlemail.com
Fri Feb 1 09:23:04 UTC 2008
Remembered on the train in ...
:wq!
This is bad. Always use :wq if you want to write and quit.
Why?
If you perform :wq! on a file on a full file system (e.g. a developer
homespace NFS share), your edits will fail to write, then because you've
shrieked at vi, it will exit taking all of your edits with it. You have no
second chances to write to a different partition ... your magnum opus is
lost.
Hands up those here who've done this. (And yes, my hand is up)
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20080201/ebf24334/attachment.htm
More information about the Sussex
mailing list