138
|
1 <refentry id="list">
|
|
2 <refnamediv>
|
|
3 <refname>LIST</refname>
|
|
4 <refpurpose>List the contents of a text file</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>LIST</command>
|
|
10 <arg choice="plain">
|
|
11 &replstart;path&replend;
|
|
12 </arg>
|
|
13 <arg choice="plain">
|
|
14 &repeatst; &replstart;path&replend; &repeaten;
|
|
15 </arg>
|
|
16 </cmdsynopsis>
|
|
17 </refsynopsisdiv>
|
|
18
|
|
19 <refsect1><title>Description</title>
|
|
20 <para>
|
|
21 This command copies text lines from the path(s) given as parameters
|
|
22 to the standard output path. The program terminates upon reaching
|
|
23 the end-of-file of the last input path. If more than one path is
|
|
24 specified, the first path will be copied to standard output, the
|
|
25 second path will be copied next, etc.
|
|
26 </para>
|
|
27 <para>
|
|
28 This command is most commonly used to examine or print text files.
|
|
29 </para>
|
|
30 <para>
|
|
31 For more information see: 2.3, 3.9.2
|
|
32 </para>
|
|
33 </refsect1>
|
|
34 <refsect1><title>Examples</title>
|
|
35 <literallayout>
|
|
36 list /d0/startup >/P & (output is redirected to printer)
|
|
37
|
|
38 list /D1/user5/document /d0/myfile /d0/Bob/text
|
|
39
|
|
40 list /TERM >/p (copy keyboard to printer - use
|
|
41 "escape" key to terminate input)
|
|
42 </literallayout>
|
|
43 <screen>
|
|
44
|
|
45 OS9: build animals
|
|
46 ? cat
|
|
47 ? cow
|
|
48 ? dog
|
|
49 ? elephant
|
|
50 ? bird
|
|
51 ? fish
|
|
52 ? [RETURN]
|
|
53
|
|
54 OS9: list animals
|
|
55 cat
|
|
56 cow
|
|
57 dog
|
|
58 elephant
|
|
59 bird
|
|
60 fish
|
|
61 </screen>
|
|
62 </refsect1>
|
|
63 </refentry>
|
|
64
|