Add some examples showing the use of the flags: a, k, P, w
Details
Details
- Reviewers
gbe - Group Reviewers
manpages - Commits
- rGdf965a6829f0: man(1): Add EXAMPLES section
- mandoc -Tlint clean
- igor clean
- aspell happy
- man ./man.1 renders the page properly
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/man/man.1 | ||
---|---|---|
376 | This example leads to 'apropos: nothing appropriate'. |
usr.bin/man/man.1 | ||
---|---|---|
376 | seems to work for me: $ man -k '\<copy\>.*archive' cpio, bsdcpio(1) - copy files to and from archives |
usr.bin/man/man.1 | ||
---|---|---|
376 | Thats a little strange, on -CURRENT I get $ man -k '\<copy\>.*archive' and on -STABLE I get |
usr.bin/man/man.1 | ||
---|---|---|
376 | In current: [fernape@vm-current ~]$ man -k '\<copy\>.*archive' cpio, bsdcpio(1) - copy files to and from archives But in 12.1-RELEASE $ man -k '\<copy\>.*archive' bsdcpio, cpio(1) - copy files to and from archives cpio, bsdcpio(1) - copy files to and from archives It seems in 12.1 and 12-STABLE the whatis(1) database has duplicates. One for bsdcpio first and one with cpio first. $ man -w cpio bsdcpio /usr/share/man/man1/cpio.1.gz /usr/share/man/man1/bsdcpio.1.gz $ cmp /usr/share/man/man1/cpio.1.gz /usr/share/man/man1/bsdcpio.1.gz $ It looks to me like it was fixed somewhere in -CURRENT. |