mtx-grep(1)
β¨ NAME β¨
bestie, this is mtx-grep β the Simple Grepper π she's the little script that comes with mtxrun and she exists to find stuff for you. that's it. that's the job. no cap.
π SYNOPSIS π
mtxrun --script grep [ OPTIONS ... ] [ FILENAMES ]
π¦ DESCRIPTION π¦
okay so. Simple Grepper. genuinely as simple as the name is giving β you point her at some files, you tell her what to look for, she greps. lowkey iconic for how unbothered she is about it. πΈ
π OPTIONS π
--patternβ search for pattern (optional) π like, this one is literally optional, she said "you can tell me what to look for, or not, I'm flexible"--countβ count matches only π’ not the matches themselves, just the number. she's giving accountant energy for exactly this flag.--nocommentβ skip lines that start with%%or#π she's skipping the commentary, we're only here for the main character lines.--nβ show at most n matches βοΈ where n is a number, bestie. cap the output, we don't need the whole saga.--firstβ only show first match π₯ first one and then she's done, no further questions--matchβ return the match (if it is one) β conditional queen behaviour β she returns it if it is one--xmlβ pattern is lpath expression π not a plain old pattern, an lpath expression, okay? different beast entirely.
π AUTHOR π
ngl if you want the whole lore on ConTeXt and all the tools that roll with it, it lives here:
maillist: ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context π¬
webpage: http://www.pragma-ade.nl / http://tex.aanhet.net π
wiki: http://contextgarden.net π
and that's the whole page, babe π«Ά no secrets, no missing flags, fr fr.
version 0.10 π 01-01-2023 π that's a wrap on mtx-grep(1), from the Simple Grepper section of the manual. stay greppin' π β¨
π¦ where this page comes from
- fedora 43: texlive-context 11:svn66546-93.fc43 Β· GPL-1.0-or-later OR LPPL-1.3c
- fedora 43: texlive-context 11:svn66546-95.fc43.1 Β· GPL-1.0-or-later OR LPPL-1.3c
- ubuntu noble: context 2023.05.05.20230730+dfsg-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms