LIST
List the contents of a text file
LIST
&replstart;path&replend;
&repeatst; &replstart;path&replend; &repeaten;
Description
This command copies text lines from the path(s) given as parameters
to the standard output path. The program terminates upon reaching
the end-of-file of the last input path. If more than one path is
specified, the first path will be copied to standard output, the
second path will be copied next, etc.
This command is most commonly used to examine or print text files.
For more information see: 2.3, 3.9.2
Examples
list /d0/startup >/P & (output is redirected to printer)
list /D1/user5/document /d0/myfile /d0/Bob/text
list /TERM >/p (copy keyboard to printer - use
"escape" key to terminate input)
OS9: build animals
? cat
? cow
? dog
? elephant
? bird
? fish
? [RETURN]
OS9: list animals
cat
cow
dog
elephant
bird
fish