realpath(1): Add EXAMPLES section.
Add a small example for this simple command. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D26863
This commit is contained in:
parent
ea772485d1
commit
76ec6f51b9
@ -69,6 +69,14 @@ is specified, warnings will not be printed when
|
||||
fails.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh EXAMPLES
|
||||
Show the physical path of the
|
||||
.Pa /dev/log
|
||||
directory silencing warnings if any:
|
||||
.Bd -literal -offset indent
|
||||
$ realpath -q /dev/log
|
||||
/var/run/log
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr realpath 3
|
||||
.Sh HISTORY
|
||||
|
Loading…
Reference in New Issue
Block a user