carta
mtxrun-grep(1)

mtxrun-grep1

Simple grepper

Usage

mtxrun --script grep [OPTIONS ...] [FILENAMES]

Overview

Simple Grepper

Options

--pattern

search for pattern (optional)

--count

count matches only

--all

count all occurences in a line

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

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 texlive-doc 2026.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.