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:
fernape 2020-10-20 13:15:26 +00:00
parent c456dcac39
commit ac1907161e

View File

@ -69,6 +69,14 @@ is specified, warnings will not be printed when
fails. fails.
.Sh EXIT STATUS .Sh EXIT STATUS
.Ex -std .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 .Sh SEE ALSO
.Xr realpath 3 .Xr realpath 3
.Sh HISTORY .Sh HISTORY