Blog: 2024-02-03: Difference between revisions

From razwiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 12:44, 3 February 2024

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...