SGMLCHECK(1)

SGMLCHECK(1) πŸ’–

okay bestie, so this is a General Commands Manual page for sgmlcheck, and I'm gonna walk you through it like we're texting at 2am, except every single fact stays exactly where it is. no cap. 🫢


✨ NAME ✨

sgmlcheck β€” check the syntax of an LinuxDoc DTD sgml source file πŸ¦‹


🌸 SYNOPSIS 🌸

sgmlcheck file[.sgml]

πŸ’… DESCRIPTION πŸ’…

okay so sgmlcheck is, and I say this with love, an old and obsoleted form of the SGML source checker command of LinuxDoc-Tools. the name is lowkey misleading btw β€” it is not a tool for any SGML DTD, it only supports the SGML LinuxDoc DTD. πŸ™ˆ

bestie pls switch to the new form linuxdoc -B check now. that's the glow-up. πŸ’…

so what does it actually do? it runs an SGML parse on the document source you hand it. any errors get reported to standard output. and that's it β€” no formatted version of the source is produced. it's giving "vibe check only, no makeover." πŸ’€

πŸŽ€ one lil thing to know πŸŽ€

note that sgmlcheck preprocesses the LinuxDoc DTD SGML source, doing the conditionalization described by any <#if></#if> and <#unless></#unless> tags. document sources containing these tags will confuse a standalone SGML parser. so like, don't try that at home with a regular parser, she will not understand the assignment. 😭


✨ OPTIONS ✨

  • None. 🫢

the generic options described in linuxdoc(1) are accepted, but have no effect β€” except for -D. that one's the main character. πŸ‘‘


🌈 FILES 🌈

many files and executables in /usr/share/linuxdoc-tools and /usr/bin are used. iconic ecosystem behavior, we love to see it. 🧚


πŸ’€ BUGS πŸ’€

none known. slay, honestly. ✨


πŸ‘‘ AUTHOR πŸ‘‘

originally written by Cees de Groot <cg@cdegroot.com> as sgmlcheck for SGML-Tools v1, and maintained by Taketoshi Sano <sano@debian.org> for Linuxdoc-Tools. currently maintained by Agustin Martin <agustin6martin AT gmail com>. legends only. 🫢


πŸ“ SEE ALSO πŸ“


and that's the whole page, bestie!! this one's from the Linuxdoc-Tools source, dated 2025-04-06, and honestly? she's short, she's obsolete, and she still ate. πŸ’–βœ¨ no notes, periodt.

πŸ“¦ where this page comes from