MMSG(7)

πŸ“¦
version 1.4 Β· 2 versions
, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’Œ MMSG(7) β€” mblaze message argument syntax πŸ’Œ

okay bestie, so this is the mmsg page from the mblaze(7) message system manual fam β€” and listen, it's giving "how do I even point at a message" energy, because this doc literally outlines the message syntax used by many of the utilities in the mblaze(7) message system. no cap, this is the glow-up guide to saying "that one" in mblaze-speak. πŸ¦‹


✨ DESCRIPTION ✨

okay so first thing first: this document outlines the message syntax used by many of the utilities in the mblaze(7) message system. like, it's the shared language, iykyk. πŸ’…

πŸŽ€ filenames, folders, the basics πŸŽ€

in general, you can always specify a filename as a message, if it contains a / character. yes, always β€” the slash is the vibe check that says "this is a file, bestie." (and use ./ to prefix messages in the current directory, because duh, we gotta be explicit sometimes.)

you can also specify a maildir folder, which will be expanded to all messages in the cur/ directory. iconic behavior honestly. 🌸

🌈 ranges β€” the start:stop situation 🌈

ranges have the format start:stop, where start and stop are one-based indexes into the sequence. one-based, not zero-based, don't come at me. 🫢

  • negative numbers count from the end. slay.
  • if start is the empty string, 1 will be used instead.
  • if stop is the empty string, -1 will be used instead.
  • thus, : represents the whole sequence. the whole entire thing. no notes. ✨
  • if the range does not contain a :, it is considered to be a single message, equivalent to the range start:start of size one.
  • the special notation start:+n selects start and the next n messages.

🧚 threading syntax β€” yes there's more 🧚

if the sequence is threaded, the following syntax may be used:

  • msg= β€” refers to the whole thread that contains msg. the whole group chat basically. πŸ‘‘
  • msg^ β€” refers to the parent of the message msg, and may be repeated to refer to grandparents. (so msg^^ is grandparent energy, you get it.)
  • msg_ β€” refers to the subthread headed by msg (i.e. all messages below msg, with more indentation).

πŸ’€ the special shortcuts πŸ’€

the following special shortcuts may be used β€” memorize these, they're lowkey the whole point:

  • - β€” refers to the message content read directly from the standard input.
  • . β€” refers to the current message. additionally, the syntax .+N and .-N can be used to refer to messages relative to the current message.
  • + β€” refers to the next message (like .+1)
  • .- β€” refers to the previous message (like .-1)
  • $ β€” refers to the last message (like -1)
  • ^ β€” refers to the current parent message (like .^)
  • = β€” refers to the current thread (like .=)
  • _ β€” refers to the current subthread (like ._)
ok bestie real talk: these shortcuts are the main character energy of mblaze. - pulls straight from stdin, . is "where am I rn", and the rest are just relative-vibe navigation. go off. πŸ”₯

🌟 SEE ALSO 🌟

mblaze(7) β€” go read that one too, it's the parent manual and it eats. πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

Leah Neukirchen <leah@vuxu.org> β€” an absolute icon, fr fr. πŸŽ€


anyway that's the whole page, bestie β€” mmsg syntax mastered, periodt. πŸ¦‹βœ¨

πŸ“ cute little sign-off: this one's from the Debian packaging of the mblaze manual, dated July 3, 2020 β€” so yeah, vintage but still slaying. mwah πŸ’‹
πŸ“¦ where this page comes from