Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/list.refentry @ 3116:174eb9eda7b1
New port "mc09" for Multicomp09, an FPGA-based 6809 machine
Include new commands/descriptor for mc09 clock and SD controller
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Sat, 17 Oct 2015 21:21:11 +0100 |
parents | b00cf13c9f61 |
children |
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> | |
1500 | 36 list /d0/startup >/p & (output is redirected to printer) |
138 | 37 |
1500 | 38 list /d1/user5/document /d0/myfile /d0/Bob/text |
138 | 39 |
1500 | 40 list /term >/p (copy keyboard to printer - use |
138 | 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 |