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:
Fernando Apesteguía 2020-10-20 13:15:26 +00:00
parent ea772485d1
commit 76ec6f51b9

View File

@ -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