WRAPMGT(6)
π WRAPMGT β the Games Manual glow-up π
ok so bestie, we're in section 6 of the Games Manual today, and the star of the show is wrapmgt. she wraps long lines in Smart-Go files so they're safe to post or email. no more cursed broken formatting in the group chat, we love to see it π
β¨ NAME β¨
wrapmgt β wraps long lines in Smart-Go files to make them safe to post or email π
β¨ SYNOPSIS β¨
wrapmgt [nn]
β¨ DESCRIPTION β¨
okay so here's the tea β wrapmgt formats Smart-Go files β the ones as generated by mgt β so that the lines end up shorter than nn, which is the number you hand it on the command line. iconic behaviour fr fr.
the default format width is 79 characters. yes, 79, not 80, she's specific like that β¨
wrapmgt reads its input from stdin and writes to stdout. which means β and this is the part that lowkey trips people up β you should invoke it using I/O redirection, which is done under unix and DOS like this:
wrapmgt < infile > outfile
the files get formatted in such a way that if you view them in mgt after being formatted, they will look the same as the original π like nothing ever happened. the new line breaks will be visible from within the editor, however. so the vibe is preserved, the line breaks are just... there. iykyk πΈ
ngl, the whole point is: your file stays pretty in mgt, and the raw lines stay short enough to survive being posted or emailed. both things at once. she's doing both. periodt π
β¨ AUTHOR β¨
Adrian Mariano (adrian@bsdserver.ucsf.edu) β the original icon, we thank her for her service π«Ά
and that's the whole page bestie!! this one's from the Games Manual, dated 23 November 1992 π¦ a true vintage moment. wrap responsibly, keep your lines under nn, and go slay π
β¨π
π¦ where this page comes from
- debian bookworm: mgt 2.31-9
- ubuntu jammy: mgt 2.31-8
- ubuntu noble: mgt 2.31-9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms