FMTDUMP(8)
π FMTDUMP(8) β like, the nmh format-file decoder bestie
okay so real quick, this is a page from the System Manager's Manual, and the tool is called fmtdump. it lives at /usr/libexec/nmh/fmtdump. let's get into it π«Ά
β¨ NAME β¨
fmtdump β decode nmh's mh-format(5) files
no cap, that's the whole vibe. it takes your format files and tells you what they actually mean. π
πΈ SYNOPSIS πΈ
/usr/libexec/nmh/fmtdump [-help] [-version] [-form formatfile] [-format string]
yes bestie, that's the full path. she's not in your PATH by default, she's tucked away in /usr/libexec/nmh/. iconic behaviour honestly. π
π¦ DESCRIPTION π¦
so here's the tea: fmtdump parses an nmh format file and produces a pseudo-language listing of how nmh interprets that file. it's giving translator. it's giving "let me show you what the computer actually thinks you said."
this is so useful when you're debugging a complicated format file. like when your format file is doing the absolute most and nothing renders right and you're just sitting there like π β that's when you run fmtdump and it spills everything.
the -format string and -form formatfile switches may be used to specify a format string or format file to read. so you can point her at a literal string, or at a whole file, your choice, main character energy either way. β¨
if you want the full deets on format strings and format files, go read mh-format(5). that's the homework. π
π FILES π
$HOME/.mh_profileβ the user's profile. your personal config, your little corner. π/etc/nmh/scan.defaultβ the default format file. the system-wide fallback, the group chat default, the "if nobody says anything else we're doing this" option. π
π« PROFILE COMPONENTS π«
Path:β to determine the user's nmh directory. yeah she reads your profile to figure out where your nmh stuff lives. π«Ά
π SEE ALSO π
fmttest(1)mh-format(5)mh-sequences(8)
go read all of them, they're all part of the same friend group fr fr. π
π CONTEXT π
None
literally none. no context needed. she's independent. she doesn't need the surrounding message state to do her thing. slay. π
quick vibe check bestie: this one's a debug tool, so use it when you're confused, not in your everyday scripts. it's for looking, not for doing. π
and that's the page!! this gem comes from nmh-1.8, dated 1999-04-30 β yeah she's an old soul but she still ate πβ¨ thanks for reading, ily, go debug your format files ππ¦
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms