.\" generated by mkman.py, please do NOT edit! .TH qgrep "1" "Jan 2024" "Gentoo Foundation" "qgrep" .SH NAME qgrep \- grep in ebuilds .SH SYNOPSIS .B qgrep \fI[opts] [pkg ...]\fR .SH DESCRIPTION \fIqgrep\fR searches for a given expression in all ebuilds of the current portage tree and defined additional overlays. Optionally the search is in all eclasses, or just in the ebuilds that are currently installed. To narrow the search, multiple targets can be given using atom syntax. In particular, the trailing slash (/) syntax can be used to match an entire category. See also \fBqatom\fR(1). .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\-N\fR, \fB\-\-atom\-name\fR Print the atom instead of filename 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\-R\fR, \fB\-\-repo\fR Print source repository name for each match (implies -N). .TP \fB\-S\fR \fI\fR, \fB\-\-skip\fR \fI\fR Skip lines matching . .TP \fB\-B\fR \fI\fR, \fB\-\-before\fR \fI\fR Print lines of leading context. .TP \fB\-A\fR \fI\fR, \fB\-\-after\fR \fI\fR Print lines of trailing context. .TP \fB\-\-root\fR \fI\fR Set the ROOT env var. .TP \fB\-v\fR, \fB\-\-verbose\fR Prefix each matching line with filename (like \fB-H\fR). When this option is given multiple times, also linenumbers are printed. .TP \fB\-q\fR, \fB\-\-quiet\fR Do not prefix each match with filename. .TP \fB\-C\fR, \fB\-\-nocolor\fR Don't output color. .TP \fB\-\-color\fR Force color in output. .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: Gentoo Linux; Component: Current packages .SH AUTHORS .nf Ned Ludd Mike Frysinger Fabian Groffen .fi .SH "SEE ALSO" .BR q (1), .BR qatom (1), .BR qcheck (1), .BR qdepends (1), .BR qfile (1), .BR qkeyword (1), .BR qlist (1), .BR qlop (1), .BR qmanifest (1), .BR qmerge (1), .BR qpkg (1), .BR qsearch (1), .BR qsize (1), .BR qtbz2 (1), .BR qtegrity (1), .BR quse (1), .BR qwhich (1), .BR qxpak (1)