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
c456dcac39
commit
ac1907161e
@ -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