Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/list.refentry @ 1093:4dae346c4969
Added crossreferences and lowercased synopsises
author | roug |
---|---|
date | Mon, 07 Apr 2003 21:01:46 +0000 |
parents | c565a4700689 |
children | b00cf13c9f61 |
rev | line source |
---|---|
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> | |
1093 | 9 <command>list</command> |
138 | 10 <arg choice="plain"> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
138
diff
changeset
|
11 <replaceable>path</replaceable> |
138 | 12 </arg> |
13 <arg choice="plain"> | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
138
diff
changeset
|
14 &repeatst; <replaceable>path</replaceable> &repeaten; |
138 | 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> | |
1093 | 31 For more information see: <xref linkend="sec2.3"/>, <xref linkend="sec3.9.2"/> |
138 | 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 |