File: lid.1

package info (click to toggle)
id-utils 4.6.28-20200521ss15dab
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 13,176 kB
  • sloc: ansic: 90,321; sh: 10,115; perl: 558; makefile: 209; lisp: 29; sed: 16
file content (86 lines) | stat: -rw-r--r-- 2,575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.8.
.TH LID "1" "May 2020" "lid - 4.6.28-15da" "User Commands"
.SH NAME
lid \- Query ID database and report results.
.SH SYNOPSIS
.B lid
[\fI\,OPTION\/\fR]... \fI\,PATTERN\/\fR...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Query ID database and report results.
By default, output consists of multiple lines, each line containing the
matched identifier followed by the list of file names in which it occurs.
.TP
\fB\-f\fR, \fB\-\-file\fR=\fI\,FILE\/\fR
file name of ID database
.TP
\fB\-i\fR, \fB\-\-ignore\-case\fR
match PATTERN case insensitively
.TP
\fB\-l\fR, \fB\-\-literal\fR
match PATTERN as a literal string
.TP
\fB\-r\fR, \fB\-\-regexp\fR
match PATTERN as a regular expression
.TP
\fB\-w\fR, \fB\-\-word\fR
match PATTERN as a delimited word
.TP
\fB\-s\fR, \fB\-\-substring\fR
match PATTERN as a substring
.IP
Note: If PATTERN contains extended regular expression metacharacters, it is interpreted as a regular expression substring.
Otherwise, PATTERN is interpreted as a literal word.
.TP
\fB\-k\fR, \fB\-\-key\fR=\fI\,STYLE\/\fR
STYLE is one of `token', `pattern' or `none'
.TP
\fB\-R\fR, \fB\-\-result\fR=\fI\,STYLE\/\fR
STYLE is one of `filenames', `grep', `edit' or `none'
.TP
\fB\-S\fR, \fB\-\-separator\fR=\fI\,STYLE\/\fR
STYLE is one of `braces', `space' or `newline' and
only applies to file names when `\-\-result=filenames'
.IP
The above STYLE options control how query results are presented.
Defaults are \fB\-\-key\fR=\fI\,token\/\fR \fB\-\-result\fR=\fI\,filenames\/\fR \fB\-\-separator\fR=\fI\,space\/\fR
.TP
\fB\-F\fR, \fB\-\-frequency\fR=\fI\,FREQ\/\fR
find tokens that occur FREQ times, where FREQ
is a range expressed as `N..M'.  If N is omitted, it
defaults to 1, if M is omitted it defaults to MAX_USHRT
.TP
\fB\-a\fR, \fB\-\-ambiguous\fR=\fI\,LEN\/\fR
find tokens whose names are ambiguous for LEN chars
.TP
\fB\-x\fR, \fB\-\-hex\fR
only find numbers expressed as hexadecimal
.TP
\fB\-d\fR, \fB\-\-decimal\fR
only find numbers expressed as decimal
.TP
\fB\-o\fR, \fB\-\-octal\fR
only find numbers expressed as octal
.IP
By default, searches match numbers of any radix.
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.SH "REPORTING BUGS"
Report bugs to bug\-idutils@gnu.org
.SH "SEE ALSO"
The full documentation for
.B lid
is maintained as a Texinfo manual.  If the
.B info
and
.B lid
programs are properly installed at your site, the command
.IP
.B info lid
.PP
should give you access to the complete manual.