Blog: 2024-02-03

From razwiki
Revision as of 11:44, 3 February 2024 by Razzi (talk | contribs) (Created page with "Weirdly, running `man hexdump` invoked xcodebuild and lagged for a while, so I thought I'd cut out the middleman and learned how to do this: groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii Then I can groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii | less Makes me think about how groff is antiquated and I don't know how to write its bespoke text format, so probably a better approach for a modern os would be to write man pages in md, or maybe just html? Is it...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Weirdly, running `man hexdump` invoked xcodebuild and lagged for a while, so I thought I'd cut out the middleman and learned how to do this:

groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii

Then I can

groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii | less

Makes me think about how groff is antiquated and I don't know how to write its bespoke text format, so probably a better approach for a modern os would be to write man pages in md, or maybe just html? Is it time for a browser os? Past time haha and it already exists. Anyways...