Imported Upstream version 2.17
[debian/cpmtools] / cpmls.1.in
1 .TH CPMLS 1 "@UPDATED@" "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 ENVIRONMENT \"{{{
43 CPMTOOLSFMT     Default format
44 .\"}}}
45 .SH FILES \"{{{
46 @DATADIR@/diskdefs      CP/M disk format definitions
47 .\"}}}
48 .SH AUTHORS \"{{{
49 This program is copyright 1997\(en2012 Michael Haardt
50 <michael@moria.de>.  The Windows port is copyright 2000, 2001, 2011 John Elliott
51 <jce@seasip.demon.co.uk>.
52 .PP
53 This program is free software; you can redistribute it and/or modify
54 it under the terms of the GNU General Public License as published by
55 the Free Software Foundation; either version 3 of the License, or
56 (at your option) any later version.
57 .PP
58 This program is distributed in the hope that it will be useful,
59 but WITHOUT ANY WARRANTY; without even the implied warranty of
60 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61 GNU General Public License for more details.
62 .PP
63 You should have received a copy of the GNU General Public License along
64 with this program.  If not, write to the Free Software Foundation, Inc.,
65 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
66 .\"}}}
67 .SH "SEE ALSO" \"{{{
68 .IR cpmcp (1),
69 .IR cpm (5)
70 .\"}}}