Man page for stuff I always forget.
Go to file
2024-08-17 17:41:36 +10:00
cheatsheet.7 initial local commit 2024-08-17 17:30:02 +10:00
cheatsheet.7.md initial local commit 2024-08-17 17:30:02 +10:00
LICENSE Initial commit 2024-08-17 17:28:55 +10:00
README.md Merge branch 'main' of git.suboptimal.solutions:hugh/man-cheatsheet 2024-08-17 17:41:36 +10:00

Personal man page

This repo is for my personal man page. It uses pandoc to process markdown into a manpage. See https://gabmus.org/posts/man_pages_with_markdown_and_pandoc

  1. create a markdown file for the manpage. We save it in section 7: Miscellaneous Information Manual, so it needs to be named [name].7.md.

  2. create a file in man page format using pandoc:

    pandoc --standalone -t man cheatsheet.7.md -o cheatsheet.7
    
  3. Then symlink to the appropriate man file directory:

    ln -s /Users/hugh/coding/man/cheatsheet.7 /usr/local/share/man/man7/
    

Now you can run man cheatsheet and see your man page!