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