type <file> {,<file> ... }
Type the contents of a text file.
<file>
The file or files to be listed.
-a
Combined with the -of switch, use append mode
to add to an existing text file.
-c
Combined with the -of switch, if <file> exists, prompt for
confirmation before it is replaced.
-ch=<channel>
Send the output to a channel currently open for output.
-err
Send the output to the error log.
-h
Precede each file with a header line, giving the file name, current
date and time.
-key=<string>
Via an index file, use the value of <string>
to locate text within the file and begin listing at that position. The
listing then finishes at the next line beginning with non-white space.
The index file used will have the same name as the file being listed but
with an extension .fhx.
-log=<panel>
Send the output to a log sub-panel.
-m
Send the output to the monitor. This is the default behavior unless
one of the -ch, -err,
-log, -of, -os,
-ow, -pr or -uof
options is used.
-n
Precede each output line with a line number, starting at one.
-of=<file>
Send the output to a file, similar to a copy.
-os=<ident>
Send the output to a string identifier. If the identifier does not exist, a
new string array is created using current scope rules, where each line
of output is recorded in one array element.
-ow=<window>
Send the output to an alpha window.
-pau
When listing to the monitor window, pause on each page full.
-pr
Send the output to the printer.
-uof=<string>
Send the output to a unix filter process.
-x=<num>
Send multiple
copies of the output. <num>
specifies the number of copies.
Text index files, to be used with the -key switch above, are created via the makefhx utility.
Type one file to the monitor.
type a.cmd
Send two files to the printer with header and line numbers. Print two copies of each.
type file1.dat, file2.dat, -pr, -n, -h, -x=2
Append one file to another.
type myfile.dat, -of=total, -a
Commands: |
|
Identifiers: |
printer (string), print_length (numeric), print_margin (numeric), print_width (numeric) |
Utilities: |