NAME ed - text editor SYNOPSIS ed [-] [file] DESCRIPTION Ed is a text editor. If the 'file' argument is given, the file is read into ed's buffer so that it can be edited and its name is remembered for possible future use. Ed operates on a copy of any file it is editing; changes made in the copy have no effect on the file until a w (write) command is given. The optional '-' suppresses the printing of line counts by the e (edit), r (read), and w (write) commands. Ed accepts commands from script files as well as a terminal. To do this, invoke ed and substitute the script file name for the standard input, as follows - ed [file]