MMHWRAP(1mh)

πŸ’– MMHWRAP πŸ’–

okay so bestie, this is mmhwrap from the mmh manual β€” the little wrapper script that lets you run mmh commands even when they're not in your $PATH. it's giving personal assistant energy, and honestly? she ate. ✨


✨ NAME ✨

mmhwrap β€” invoke mmh commands if they are not in $PATH 🫢


🌸 SYNOPSIS 🌸

mmhwrap command [options...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie πŸ“ β€” use mmhwrap if you wanna invoke mmh programs without adding the mmh bindir into your $PATH. or, iconic option, if you wanna install nmh and mmh both at the same time. main character moves only. πŸ‘‘

but here's the catch (and it's a real one, no cap): their tools are equally named β€” but incompatible 😭 β€” so you can literally only have one of both tool chests accessible through $PATH. that's just the vibe. so use the wrapper to access mmh tools if you've got the nmh tools in your $PATH (first). lowkey genius.

copy mmhwrap into a directory that's part of $PATH, likely $HOME/bin or /usr/local/bin. and you likely wanna rename mmhwrap to something shorter, like m for instance β€” because typing is effort, and we don't do that here πŸ’…:

cp /usr/lib/mmh/mmhwrap $HOME/bin/m
chmod +x $HOME/bin/m

then use it this way, literally so easy:

% m folder
inbox+ has 162 messages  (1-177); cur=131; (others).

% m scan -help
Usage: scan [+folder] [msgs] [switches]
  switches are:
  -form formatfile
  -width columns
  -(file) file
  -Version
  -help

% m scan f
   1  2012-02-13  To: meillo         laber blubb

% m refile l +foo

see? slay. 🌈


πŸŽ€ FILES πŸŽ€

None β€” nothing, nada, zero files. she's low maintenance fr fr πŸ’œ


πŸ’… PROFILE COMPONENTS πŸ’…

None β€” no profile components either, bestie. not a single one. πŸ™ˆ


🌸 CONTEXT 🌸

None β€” nope, no context. clean girl aesthetic. ✨


⭐ SEE ALSO ⭐


friendly lil reminder: the whole point of this wrapper is the name collision situation, so if you're out here with nmh already living in your $PATH, this is your girl. 🫢

and that's the whole page, bestie!! this was mmhwrap from the mmh-0.4 release, page version MH.6.8, dated 2019-01-06, filed under MMHWRAP(1mh). go forth and wrap your commands, you absolute icon πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from