mtx-grep1
Simple grepper
Usage
mtxrun --script
grep
[OPTIONS ...]
[FILENAMES]
Overview
Simple Grepper
Options
-
--pattern -
search for pattern (optional)
-
--count -
count matches only
-
--nocomment -
skip lines that start with %% or #
-
--noattic -
skip files that hh considers irrelevant
-
--n -
show at most n matches
-
--first -
only show first match
-
--match -
return the match (if it is one)
-
--xml -
pattern is lpath expression
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
--first since Debian 10 (Buster);
--match since Debian 10 (Buster);
--n since Debian 10 (Buster);
--noattic since Debian 13 (Trixie).