Page MenuHomeFreeBSD

look(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 4:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 7, 12:56 AM
Unknown Object (File)
Thu, Jun 6, 10:40 AM
Unknown Object (File)
Fri, May 24, 9:03 PM
Unknown Object (File)
Sun, May 19, 3:20 PM
Unknown Object (File)
May 1 2024, 3:16 AM
Unknown Object (File)
May 1 2024, 3:16 AM
Unknown Object (File)
May 1 2024, 3:16 AM
Unknown Object (File)
May 1 2024, 1:58 AM

Details

Reviewers
None
Group Reviewers
manpages
Commits
rGf3f16c31fea2: 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

comma after above.

117

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
117

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!