annotate docs/nitros9guide/dir.refentry @ 2569:d139f4b0b123

Copied from coco3 bootlists
author boisy
date Sun, 03 Apr 2011 16:12:55 +0000
parents 4dae346c4969
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
1 <refentry id="dir">
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
2 <refnamediv>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
3 <refname>DIR</refname>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
4 <refpurpose>Display the names of files contained in a directory</refpurpose>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
5 </refnamediv>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
6
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
7 <refsynopsisdiv>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
8 <cmdsynopsis>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1053
diff changeset
9 <command>dir</command>
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
10 <arg choice="opt">
914
9639def8cf2e Changed to show new - options
boisy
parents: 136
diff changeset
11 <option>-e</option>
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
12 </arg>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
13 <arg choice="opt">
914
9639def8cf2e Changed to show new - options
boisy
parents: 136
diff changeset
14 <option>-x</option>
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
15 </arg>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
16 <arg choice="opt">
975
c565a4700689 The entitity replstart was replaced with <replaceable>
roug
parents: 914
diff changeset
17 <replaceable>path</replaceable>
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
18 </arg>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
19 </cmdsynopsis>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
20 </refsynopsisdiv>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
21
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
22 <refsect1><title>Description</title>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
23 <para>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
24 Displays a formatted list of files names in a directory file on. the
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
25 standard output path. If no parameters are given, the current
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
26 <emphasis>data</emphasis>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
27 directory is shown. If the &quot;x&quot; option is given, the current
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
28 <emphasis>execution</emphasis>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
29 directory is shown. If a pathlist of a directory file is
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
30 given, it is shown.
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
31
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
32 </para>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
33 <para>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
34 If the &quot;e&quot; option is included, each file's entire description is
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
35 displayed: size, address, owner, permissions, date and time of last
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
36 modification.
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
37
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
38 </para>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
39 <para>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1053
diff changeset
40 For more information see: <xref linkend="sec1.0.3"/>, <xref linkend="sec3.4"/>, and <xref linkend="sec3.8.1"/>
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
41 </para>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
42 </refsect1>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
43 <refsect1><title>Examples</title>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
44 <screen>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
45 dir (display data directory)
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
46
914
9639def8cf2e Changed to show new - options
boisy
parents: 136
diff changeset
47 dir -x (display execution directory)
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
48
914
9639def8cf2e Changed to show new - options
boisy
parents: 136
diff changeset
49 dir -x -e (display entire description of execution dir)
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
50
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
51 dir .. (display parent of working data directory)
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
52
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
53 dir newstuff (display newstuff directory)
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
54
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 975
diff changeset
55 dir -e test_programs (display entire description of <filename class="directory">test_programs</filename>)
136
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
56 </screen>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
57 </refsect1>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
58 </refentry>
94476830df51 Split up the commands into individual files.
roug
parents:
diff changeset
59