Page MenuHomeFreeBSD

last(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 3:56 PM.
Tags
None
Referenced Files
F172061728: D27540.id80523.diff
Tue, Sep 15, 8:30 PM
F172061621: D27540.id81961.diff
Tue, Sep 15, 8:29 PM
F172061384: D27540.id80542.diff
Tue, Sep 15, 8:26 PM
F172060954: D27540.diff
Tue, Sep 15, 8:23 PM
Unknown Object (File)
Thu, Sep 3, 9:30 PM
Unknown Object (File)
Thu, Sep 3, 4:06 PM
Unknown Object (File)
Aug 14 2026, 6:01 PM
Unknown Object (File)
Aug 13 2026, 8:30 PM

Details

Summary

Add two simple examples showing the use of the flags: d, n, s, t

While here, reorder cross references properly by section

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35314
Build 32245: arc lint + arc unit

Event Timeline

gbe added inline comments.
usr.bin/last/last.1
211

pst/1 would be better since most users, who lock for examples, doesn't have 14 login sessions active.

Cook examples a little to make them more realistic for the final user (gbe@).

This revision is now accepted and ready to land.Jan 9 2021, 1:47 PM
This revision was automatically updated to reflect the committed changes.
In D27540#626957, @gbe wrote:

LGTM

Thanks for the review!