Saving files and quitting ed
To save a file, use the
commands:
w-
saves the current file
w filename-
saves the current file as filename
To quit ed, use the commands:
q-
quits ed only if the current file has been saved
Q-
quits ed without checking if the current file has been saved
See the
ed(C)
manual page for more details of these commands.
Next topic:
Moving around in ed
Previous topic:
Starting ed
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005