Starting the editor
The following example description file could maintain themake program.
Each command in the command file must be on a separate line. Once the command file is created, enter the following command on the command line:
sed -fCommandFile >Output <Input
In this command the parameters mean the following:
Parameter | Definition |
---|---|
CommandFile | The name of the file containing editing commands. |
Output | The name of the file to contain the edited output. |
Input | The name of the file, or files, to be edited. |
The sed program then makes the changes and writes the changed information to the output file. The contents of the input file are not changed.