Page MenuHomeFreeBSD

pwd(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Oct 19 2020, 4:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 4:10 AM
Unknown Object (File)
Mon, Jun 8, 7:22 AM
Unknown Object (File)
Sat, May 23, 12:44 AM
Unknown Object (File)
Apr 27 2026, 7:39 AM
Unknown Object (File)
Apr 26 2026, 2:16 PM
Unknown Object (File)
Apr 26 2026, 8:40 AM
Unknown Object (File)
Apr 24 2026, 7:53 AM
Unknown Object (File)
Apr 21 2026, 4:00 AM

Details

Reviewers
gbe
Group Reviewers
manpages
Commits
rS367012: pwd(1): Add EXAMPLES section
Summary

Small EXAMPLES section.
Add reference to realpath(1) due to similarity.

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

Diff Detail

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

Event Timeline

LGTM, but how do you know that pwd is using file(1) for the logical current directory?

Reword the confusing part about file(1).

The intended meaning is: use pwd(1) and then, as a bonus, use file(1) to discover
where /home is pointing to.

Thanks!

This revision is now accepted and ready to land.Oct 20 2020, 9:18 AM
This revision was automatically updated to reflect the committed changes.

Thanks again for reviewing this!