PS TEXT EDIT Reference Manual
READ
TEDIT Commands
058059 Tandem Computers Incorporated 3–135
READ READ duplicates text from a file to the scratchpad.
What to Enter
{ READ | REA }
file-name
, [
line-range
| POSITIONS | P ]
file-name
is the name of the file you want to read from. The file name must be no
longer than eight characters and must begin with a alphabetic letter.
The file must be of a file code 101. Refer to the GUARDIAN Operating
System User’s Guide for a description of file names.
line-range
is a range (of lines) for the file from which you are reading. The default
is ALL. See Section 2 for a description of ranges.
POSITIONS
is a storage area for the marked positions of your current file that the
GOTOPOSITION command uses.
Examples:
1. To read the contents of a file named CASH into the scratchpad, enter:
Command: READ CASH
2. To read the first 24 lines of text from the file named BROKE into the
scratchpad, enter:
Command: READ BROKE, 1/24