]> pd.if.org Git - zpackage/blob - doc/zpm-elftype.8
remove stray debug fprintf
[zpackage] / doc / zpm-elftype.8
1 .TH zpm-elftype 8 2019-02-14 "ZPM 0.3"
2 .SH NAME
3 zpm-elftype \- print type of elf files
4 .SH SYNOPSIS
5 .B zpm elftype
6 [
7 .BI -f " listfile"
8 ]
9 [
10 .B -redclatnvp0
11 ]
12 .RI [ path ...]
13 .SH DESCRIPTION
14 \fBzpm-elftype\fR
15 prints and filters lists of paths according to their elftype.  By default
16 the program checks its non-option arguments.
17 .SH OPTIONS
18 .TP
19 \-l
20 Don't follow symlinks when checking paths.
21 .TP
22 \-r
23 Accept relocatable files.
24 .TP
25 \-e
26 Accept executable files.
27 .TP
28 \-d
29 Accept dynamic files.
30 .TP
31 \-c
32 Accept CORE files.
33 .TP
34 \-t
35 Print file type.
36 .TP
37 \-n
38 Print file name.
39 .TP
40 \-v
41 Run in verbose mode.
42 .TP
43 \-p
44 print errors
45 .TP
46 -a
47 Accept all elf files.  Equivalent to -redc
48 .TP
49 \-f \fIpath\fR
50 Take the list of paths to check from the path.  If the path is '-' then
51 use stdin.
52 .TP
53 \-0
54 When printing type or path information, terminate items with a zero byte.
55 Otherwise, by default, a newline is used.
56 .SH EXAMPLES
57 .TP
58 zpm elftype
59 lists all files in the local database
60 .SH EXIT STATUS
61 0 on success non zero on failure
62 .SH FILES
63 /var/lib/zpm/local.db
64 .SH ENVIRONMENT
65 ZPMDB
66 .SH AUTHOR
67 Nathan Wagner
68 .SH SEE ALSO
69 .BR zpm (8)
70 .BR elf (5)