Add a small example.
Cross reference clean up for colcrt, nroff and tbl.
Details
Details
- Reviewers
gbe - Group Reviewers
manpages - Commits
- rS366913: col(1): Add EXAMPLES section
- mandoc -Tlint clean
- igor clean
- aspell happy
- man ./col.1 renders the page properly
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 34287 Build 31426: arc lint + arc unit
Event Timeline
usr.bin/col/col.1 | ||
---|---|---|
155 | I don't think vi can read from standard input: fernape@beastie:~/FreeBSD-repos/base/head$ man ls | col -b | view ex/vi: Vi's standard input and output must be a terminal fernape@beastie:~/FreeBSD-repos/base/head$ man ls | col -b | vi -R - vi: -s option is only applicable to ex. |
Comment Actions
I think it is OK, since vim is popular enough, even though it is not in the base system. If we can't find an example that uses a base system utility, that is.
Comment Actions
Reformulate example to avoid referencing utilities not in base.
Use grep(1) to search for text that would not be found if the output of man(1)
were not filtered previously.
With this, all three utilities are in base and it is simple enough to remove
col(1) from the job in the example and see that the text is not found.
Comment Actions
LGTM.
You could also include the vim example after @bcr comment states that it would be okay.