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(1)
manual page for more details of these commands.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999