The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Simple Grepper 0.10
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl

Command line options

flagvaluedescription
--patternsearch for pattern (optional)
--countcount matches only
--allcount all occurences in a line
--nocommentskip lines that start with %% or #
--noatticskip files that hh considers irrelevant
--nshow at most n matches
--firstonly show first match
--matchreturn the match (if it is one)
--xmlpattern is lpath expression

Examples

mtxrun --script grep --pattern=module *.mkiv
mtxrun --script grep --pattern="modules.-%['(.-)'%]" char-*.lua --first
mtxrun --script grep --pattern=module --count *.mkiv
mtxrun --script grep --pattern=module --first *.mkiv
mtxrun --script grep --pattern=module --nocomment *.mkiv
mtxrun --script grep --pattern=module --n=10 *.mkiv

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.