Imported Upstream version 2.10
[debian/cpmtools] / cpmls.1
1 .TH CPMLS 1 "July 6, 2009" "CP/M tools" "User commands"
2 .SH NAME \"{{{roff}}}\"{{{
3 cpmls \- list sorted contents of directory
4 .\"}}}
5 .SH SYNOPSIS \"{{{
6 .ad l
7 .B cpmls
8 .RB [ \-d | \-D | \-F | \-A | \-l [ \-c ][ \-i ]]
9 .RB [ \-f
10 .IR format ]
11 .I image
12 .RI [ file-pattern "...]"
13 .ad b
14 .\"}}}
15 .SH DESCRIPTION \"{{{
16 \fBCpmls\fP lists the sorted contents of the directory.
17 .\"}}}
18 .SH OPTIONS \"{{{
19 .IP "\fB\-f\fP \fIformat\fP"
20 Use the given CP/M disk \fIformat\fP instead of the default format.
21 .IP \fB\-d\fP
22 Old CP/M 2.2 dir output.
23 .IP \fB\-D\fP
24 P2DOS 2.3 ddir-like output.
25 .IP \fB\-F\fp
26 CP/M 3.x dir output.
27 .IP \fB\-A\fp
28 E2fs lsattr-like output.
29 .IP \fB\-l\fP
30 Long UNIX-style directory listing including size, time stamp and user number.
31 .IP \fB\-c\fP
32 Output the creation time, not the modification time.
33 .IP \fB\-i\fP
34 Print index number of each file.
35 .\"}}}
36 .SH "RETURN VALUE" \"{{{
37 Upon successful completion, exit code 0 is returned.
38 .\"}}}
39 .SH ERRORS \"{{{
40 Any errors are indicated by exit code 1.
41 .\"}}}
42 .SH FILES \"{{{
43 ${prefix}/share/diskdefs        CP/M disk format definitions
44 .\"}}}
45 .SH AUTHORS \"{{{
46 This program is copyright 1997\(en2008 Michael Haardt
47 <michael@moria.de>.  The Windows port is copyright 2000, 2001 John Elliott
48 <jce@seasip.demon.co.uk>.
49 .PP
50 This program is free software; you can redistribute it and/or modify
51 it under the terms of the GNU General Public License as published by
52 the Free Software Foundation; either version 3 of the License, or
53 (at your option) any later version.
54 .PP
55 This program is distributed in the hope that it will be useful,
56 but WITHOUT ANY WARRANTY; without even the implied warranty of
57 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
58 GNU General Public License for more details.
59 .PP
60 You should have received a copy of the GNU General Public License along
61 with this program.  If not, write to the Free Software Foundation, Inc.,
62 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
63 .\"}}}
64 .SH "SEE ALSO" \"{{{
65 .IR cpmcp (1),
66 .IR cpm (5)
67 .\"}}}