carta
mtx-grep(1)

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).

Author

More information about ConTeXt and the tools that come with it can be found at:

maillist: [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context

webpage: http://www.pragma-ade.nl / http://tex.aanhet.net

wiki: http://contextgarden.net

From context 2024.04.01.20240428+dfsg-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.