Mercurial > hg > Members > kono > nitros9-code
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 |
rev | line source |
---|---|
136 | 1 <refentry id="dir"> |
2 <refnamediv> | |
3 <refname>DIR</refname> | |
4 <refpurpose>Display the names of files contained in a directory</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>dir</command> |
136 | 10 <arg choice="opt"> |
914 | 11 <option>-e</option> |
136 | 12 </arg> |
13 <arg choice="opt"> | |
914 | 14 <option>-x</option> |
136 | 15 </arg> |
16 <arg choice="opt"> | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
914
diff
changeset
|
17 <replaceable>path</replaceable> |
136 | 18 </arg> |
19 </cmdsynopsis> | |
20 </refsynopsisdiv> | |
21 | |
22 <refsect1><title>Description</title> | |
23 <para> | |
24 Displays a formatted list of files names in a directory file on. the | |
25 standard output path. If no parameters are given, the current | |
26 <emphasis>data</emphasis> | |
27 directory is shown. If the "x" option is given, the current | |
28 <emphasis>execution</emphasis> | |
29 directory is shown. If a pathlist of a directory file is | |
30 given, it is shown. | |
31 | |
32 </para> | |
33 <para> | |
34 If the "e" option is included, each file's entire description is | |
35 displayed: size, address, owner, permissions, date and time of last | |
36 modification. | |
37 | |
38 </para> | |
39 <para> | |
1093 | 40 For more information see: <xref linkend="sec1.0.3"/>, <xref linkend="sec3.4"/>, and <xref linkend="sec3.8.1"/> |
136 | 41 </para> |
42 </refsect1> | |
43 <refsect1><title>Examples</title> | |
44 <screen> | |
45 dir (display data directory) | |
46 | |
914 | 47 dir -x (display execution directory) |
136 | 48 |
914 | 49 dir -x -e (display entire description of execution dir) |
136 | 50 |
51 dir .. (display parent of working data directory) | |
52 | |
53 dir newstuff (display newstuff directory) | |
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 | 56 </screen> |
57 </refsect1> | |
58 </refentry> | |
59 |