http://man.openbsd.org/scan_ffs
The basic operation of this program is as follows:
1. Panic. You usually do so anyways, so you might as well get it over with. Just don't do anything stupid. Panic away from your machine. Then relax, and see if the steps below won't help you out.uh... the man page? XD
A few years ago I learned that one can also add a new section to man. I've added the `eg` section, which I fill with examples that I think will be useful to future me. For example, typing `man eg awk` opens up my man page of examples for awk, which is more pointed.
Maybe worth the effort if you want to learn about a program in detail, but in practice I often give up reading the manual and use google instead because I just want to know/remind myself the most common use cases. To be fair, there are some man pages that have a great USAGE or EXAMPLES section which meet this purpose.
https://eddieantonio.ca/blog/2015/12/18/authoring-manpages-i...
I agree.
And it's so easy to do! As long as your program has a --help option, creating the manpage simply amounts to calling help2man. Just add this to your makefile:
foo.1 : foo ; help2man -N foo > foo.1https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=84bd...
These days I use `tldr` (via `tealdeer`) and that usually spits out a few nice example commands.
Sharp and newline surround comments.
I think from a old awk man page?"You can tune a filesystem, but you can't tune a fish." --tunefs(8), 4.2BSD and later