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)
Jan 14 2024, 8:51 AM
Unknown Object (File)
Dec 23 2023, 12:40 AM
Unknown Object (File)
Dec 21 2023, 6:32 PM
Unknown Object (File)
Dec 14 2023, 8:26 PM
Unknown Object (File)
Sep 5 2023, 12:38 PM
Unknown Object (File)
Sep 5 2023, 12:34 PM
Unknown Object (File)
Sep 5 2023, 12:33 PM
Unknown Object (File)
Sep 5 2023, 12:14 PM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35305
Build 32237: arc lint + arc unit

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!