PS TEXT EDIT Reference Manual

WRITE
TEDIT Commands
058059 Tandem Computers Incorporated 3–211
WRITE WRITE either copies text from one file to another file or sends a file to a
printer. Optionally, you can write position numbers that you have marked
with MARKPOSITION to a file.
What to Enter
{ WRITE | WR } [
line-range
|
SCRATCHPAD | S
POSITIONS | P ] , {
file-name
|
printer-name
}
line-range
is a range of lines in your file, SCRATCHPAD or S that indicates the
contents of the scratchpad, or POSITIONS or P that indicates a holding
area for all position numbers in your current file.
file-name
|
printer-name
is the name of a file or a printer location.
Examples:
1. To write all lines from the file you are currently editing to the file
“myfile”, enter:
Command: WRITE A, myfile
2. To write all lines from the file you are editing to the spooler location
named, “#LPR,” enter:
Command: WRITE A, $S.#LPR