In vi, ZZ is not :wq

Chris Torek chris at umcp-cs.UUCP
Sun Sep 15 06:20:52 AEST 1985


In article <914 at munnari.OZ> kre at munnari.OZ (Robert Elz) writes:

>ZZ ... [is] a shorthand for people who ... don't want to get into
>the habbit of ":wq" (or ":x") every time they want to exit (which
>write the file every time, changed or not).

Aha!  The great kre finally makes a mistake!  I've been waiting
for this for a long time . . . :-)  ``ZZ'' is exactly equivalent
to ``:x'' (in fact it puts an ``x'' command into glob and goes to
doinit, which amounts to pretending the user typed ``:x'').

Seriously, though, the rest of what he said is correct; ``ZZ''
is not intended to be equivalent to ``:wq''.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Net.bugs mailing list