aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-20 13:15:26 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-20 13:15:26 +0000
commit76ec6f51b933d748c795339a4bd1c676a13a0d12 (patch)
tree9a235f4045f9767472687b6cdf16ddf365a5b74f /bin
parentea772485d1da1efa92e8f4a15f7c8941afe7adb2 (diff)
downloadsrc-76ec6f51b933d748c795339a4bd1c676a13a0d12.tar.gz
src-76ec6f51b933d748c795339a4bd1c676a13a0d12.zip
realpath(1): Add EXAMPLES section.
Add a small example for this simple command. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D26863
Notes
Notes: svn path=/head/; revision=366896
Diffstat (limited to 'bin')
-rw-r--r--bin/realpath/realpath.18
1 files changed, 8 insertions, 0 deletions
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