grep-dctrl --version (return code: 0)
grep-dctrl (dctrl-tools) 2.24
grep-dctrl --help (return code: 0)
Usage: grep-dctrl [OPTION...] FILTER [FILENAME...]
grep-dctrl -- grep Debian control files
-!, --not Negate the following filters.
-a, --and Conjunct filters.
-c, --count Show only the count of matching paragraphs.
--compat Override the effect of an earlier --ensure-dctrl
-C, --copying Print out the copyright license.
-d Show only the first line of the "Description"
field from the matching paragraphs.
--debug-optparse Debug option parsing.
--ensure-dctrl Ensure that the output is in dctrl format
(overridden by -n)
--eq Test for version number equality.
--errorlevel=LEVEL Set log level to LEVEL.
-e, --eregex Regard the pattern as an extended POSIX regular
expression.
-F, --field=FIELD,FIELD,... Restrict pattern matching to the FIELDs given.
--ge Version number comparison: >=.
--gt Version number comparison: >>.
-i, --ignore-case Ignore case when looking for a match.
--ignore-parse-errors Ignore parse errors
-I, --invert-show Show those fields that have NOT been selected with
-s
-l, --files-with-matches Show only the names of the files that contain
matching paragraphs.
--le Version number comparison: <=.
--lt Version number comparison: <<.
-L, --files-without-matches Show only the names of the files that do not
contain matching paragraphs.
--mmap Attempt mmapping input files
-n, --no-field-names Suppress field names when showing specified
fields.
-o, --or Disjunct filters.
--pattern=PATTERN Specify the pattern to search for
-P This is a shorthand for -FPackage.
-q, --quiet Do not output to stdout.
-r, --regex Regard the pattern as a standard POSIX regular
expression.
-s, --show-field=FIELD,FIELD,...
Show only the body of these fields from the
matching paragraphs.
--silent Do not output to stdout.
-S This is a shorthand for -FSource:Package.
-v, --invert-match Show only paragraphs that do not match.
-w, --whole-pkg Match only whole package names (this implies -e)
-X, --exact-match Do an exact match.
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to Antti-Juhani Kaijanaho <antti-juhani@kaijanaho.fi>.