Page MenuHomeFreeBSD

look(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 4:07 PM.

Details

Reviewers
None
Group Reviewers
manpages
Commits
R10:f3f16c31fea2: look(1): Add EXAMPLES section
Summary

Add two simple examples. In this case I opted to show a small portion of the
output since it helps to understand what the tool does.

It shows the use of the -t flag too.

Test Plan
  • mandoc -Tlint clean
  • igor clean
  • aspell happy
  • man ./look.1 renders the page properly

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

gbe added inline comments.
usr.bin/look/look.1
110

comma after above.

116

What is the default file?

Add , after "above" (gbe@)

Add an explicit reference to the default file where look searches if no file is
specified (gbe@)

fernape added inline comments.
usr.bin/look/look.1
116

It is the one used if no file is specified. It is referenced in `FILES``` but it is probably better to explicitly name it in the example.

bcr added a subscriber: bcr.

Look good to me. Thank you!

This revision was not accepted when it landed; it landed in state Needs Review.Dec 29 2020, 6:56 PM
This revision was automatically updated to reflect the committed changes.
fernape marked an inline comment as done.
In D27543#621440, @bcr wrote:

Look good to me. Thank you!

Thank you both for the review!