mtx-grep(1)

πŸ“¦ version 2026.0, in alpine 3.24

πŸ’… NAME πŸ’…

okay so bestie, welcome to mtx-grep(1) β€” the manual page for mtx-grep, aka the Simple Grepper 🫢. that's the whole name, that's the whole vibe. she greps. simply. iconic behavior honestly ✨


🌸 SYNOPSIS 🌸

like, the way you actually call her:

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

yeah. that's it. mtxrun runs the grep script, you sprinkle in whatever OPTIONS you want, and then you hand her some FILENAMES to chew on πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

Simple Grepper. πŸ’€ that's literally the entire description. the manpage said what it said and then dipped. no notes. she's a simple grepper, she greps, we love her for it, periodt πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

so many little flags, let's go through them one by one, no skips, no cap 🧚:

  • --pattern β€” search for pattern (optional, so like, you don't have to, it's giving lowkey)
  • --count β€” count matches only. just the numbers, no extra drama πŸ’…
  • --all β€” count all occurrences in a line. not just one per line, we're being thorough here
  • --nocomment β€” skip lines that start with %% or #. bye bye comments πŸ‘‹
  • --noattic β€” skip files that hh considers irrelevant (yes, hh. that's a whole separate thing. don't ask me, ask hh πŸ™ˆ)
  • --n β€” show at most n matches. cap it. limit it. boundaries are healthy bestie ✨
  • --first β€” only show the first match. one and done, main character energy only πŸ‘‘
  • --match β€” return the match (if it is one). if it's a match she returns it, if it's not... she doesn't 🫢
  • --xml β€” pattern is an lpath expression. suddenly we're doing XML things, okay slay 🌈

πŸ’– AUTHOR πŸ’–

all the deets about ConTeXt and the tools that come with it live here:


ngl if you got this far you're officially a simple grepper stan. go forth and mtxrun --script grep responsibly πŸ“

okay bye ily, this was version 0.10 of the page, dated 01-01-2026, and that's the whole sign-off from your girl Simple Grepper herself πŸ’œπŸŽ€

πŸ“¦ where this page comes from