aboutsummaryrefslogtreecommitdiff
blob: f446c13dde60bbfad68097ae44371cdb4dab875e (plain)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.\" generated by mkman.py, please do NOT edit!
.TH qgrep "1" "Feb 2019" "Gentoo Foundation" "qgrep"
.SH NAME
qgrep \- grep in ebuilds
.SH SYNOPSIS
.B qgrep
\fI[opts] <misc args>\fR
.SH DESCRIPTION
\fIqgrep\fR searches for a given pattern in all ebuilds of the current
portage tree.  Optionally the search is in all eclasses, or just in the
ebuilds that are currently installed.
.SH OPTIONS
.TP
\fB\-I\fR, \fB\-\-invert\-match\fR
Select non-matching lines.
.TP
\fB\-i\fR, \fB\-\-ignore\-case\fR
Ignore case distinctions.
.TP
\fB\-H\fR, \fB\-\-with\-filename\fR
Print the filename for each match.
.TP
\fB\-N\fR, \fB\-\-with\-name\fR
Print the package or eclass name for each match.
.TP
\fB\-c\fR, \fB\-\-count\fR
Only print a count of matching lines per FILE.
.TP
\fB\-l\fR, \fB\-\-list\fR
Only print FILE names containing matches.
.TP
\fB\-L\fR, \fB\-\-invert\-list\fR
Only print FILE names containing no match.
.TP
\fB\-e\fR, \fB\-\-regexp\fR
Use PATTERN as a regular expression.
.TP
\fB\-x\fR, \fB\-\-extended\fR
Use PATTERN as an extended regular expression.
.TP
\fB\-J\fR, \fB\-\-installed\fR
Search in installed ebuilds instead of the tree.
.TP
\fB\-E\fR, \fB\-\-eclass\fR
Search in eclasses instead of ebuilds.
.TP
\fB\-s\fR, \fB\-\-skip\-comments\fR
Skip comments lines.
.TP
\fB\-S\fR \fI<arg>\fR, \fB\-\-skip\fR \fI<arg>\fR
Skip lines matching <arg>.
.TP
\fB\-B\fR \fI<arg>\fR, \fB\-\-before\fR \fI<arg>\fR
Print <arg> lines of leading context.
.TP
\fB\-A\fR \fI<arg>\fR, \fB\-\-after\fR \fI<arg>\fR
Print <arg> lines of trailing context.
.TP
\fB\-\-root\fR \fI<arg>\fR
Set the ROOT env var.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Print multiple matches per files.  When this option is given
multiple times, also linenumber are printed for matches next to file
names.
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Ignored for compatibility with other qapplets.
.TP
\fB\-C\fR, \fB\-\-nocolor\fR
Don't output color.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print this help and exit.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version and exit.

.SH "REPORTING BUGS"
Please report bugs via http://bugs.gentoo.org/
.br
Product: Portage Development; Component: Tools
.SH AUTHORS
.nf
Ned Ludd <solar@gentoo.org>
Mike Frysinger <vapier@gentoo.org>
Fabian Groffen <grobian@gentoo.org>
.fi
.SH "SEE ALSO"
.BR q (1),
.BR qatom (1),
.BR qcache (1),
.BR qcheck (1),
.BR qdepends (1),
.BR qfile (1),
.BR qlist (1),
.BR qlop (1),
.BR qmerge (1),
.BR qpkg (1),
.BR qsearch (1),
.BR qsize (1),
.BR qtbz2 (1),
.BR qtegrity (1),
.BR quse (1),
.BR qxpak (1)