From ac1907161e6bdb334b878e0595c91666b4f9e6b5 Mon Sep 17 00:00:00 2001 From: fernape Date: Tue, 20 Oct 2020 13:15:26 +0000 Subject: [PATCH] realpath(1): Add EXAMPLES section. Add a small example for this simple command. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D26863 --- bin/realpath/realpath.1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/realpath/realpath.1 b/bin/realpath/realpath.1 index 7f65668ae7ab..f9ba929d7fc6 100644 --- a/bin/realpath/realpath.1 +++ b/bin/realpath/realpath.1 @@ -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