03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The ED Command <strong>CP</strong>/M 3 User's Guide<br />

Section 6 gives a detailed description of the overall operation of the ED<br />

utility and the use of each command.<br />

If you do not include a command tail in the ED command, it prompts<br />

you for the input filespec and the output filespec as follows:<br />

Enter Input File :<br />

After you enter the input filespec, ED prompts again:<br />

Enter Output Fi le :<br />

Enter a filename or drive if you want the output file or its location to<br />

be different from that of the input file. Press RETURN if you want the<br />

output file to replace the input file. In this case, the input file is renamed<br />

to type BAK.<br />

If the second file specification contains only the drive specifier, the<br />

second filename and filetype become the same as the first filename and<br />

filetype.<br />

If the file given by the first file specification is not present, ED creates<br />

the file and writes the message:<br />

NEW FILE<br />

If the file given by the first filespec is already present, you must issue<br />

the A command to read portions of the file to the buffer. If the size of<br />

the file does not exceed the size of the buffer, the command<br />

# a<br />

reads the entire file to the buffer.<br />

The 1 (Insert) command places ED in insert mode. In this mode, any<br />

characters you type are stored in sequence in the buffer starting at the<br />

current <strong>CP</strong>.<br />

5-35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!