MLESS(1)

πŸ’– MLESS(1) πŸ’–

okay bestie, welcome to mless β€” the glow-up command from the General Commands Manual that lets you conveniently read messages in less(1). yes, literally. it's giving "I just want to scroll my mail in peace" and honestly? iconic. πŸŽ€


✨ SYNOPSIS ✨

mless [msg]

🌸 DESCRIPTION 🌸

so here's the tea πŸ“: mless runs less(1) on the output of mshow(1) for the current sequence. the display starts at the current message, or at msg if you passed one. (and if you're wondering what the heck a msg argument even looks like, go check mmsg(7) for the message argument syntax β€” it's all there, iykyk.)

and now the part that's genuinely kind of genius, no cap: when you pass no messages and the standard input is coming from a pipe, mless calls mseq -S to set the current sequence, and then runs itself on the resulting sequence. the first "file" of the less instance will be the output of mscan(1). which means mless is the move to slap at the end of a pipeline. periodt. πŸ”₯

mless will start less(1) and display the current message, if possible. to read the next message use :n, and to read the previous one use :p. that's it, that's the whole navigation arc, go off. πŸ‘‘


πŸ’€ EXIT STATUS πŸ’€

the mless utility exits 0 on success, and >0 if an error occurs. simple as. if it's not 0, something said "not today" and you should probably look into that. 😭


πŸ‘€ SEE ALSO πŸ‘€


🫢 AUTHORS 🫢

  • Leah Neukirchen <leah@vuxu.org>

πŸ‘‘ LICENSE πŸ‘‘

mless is in the public domain. ✨

to the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/


and that's a wrap, bestie πŸ’… this page came to you from the Debian crew, dated July 22, 2016 β€” old enough to be vintage, still serving flawless mless(1) energy. mwah. πŸ’œ

πŸ“¦ where this page comes from