Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2020 13:15:26 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366896 - head/bin/realpath
Message-ID:  <202010201315.09KDFQkL096502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape (ports committer)
Date: Tue Oct 20 13:15:26 2020
New Revision: 366896
URL: https://svnweb.freebsd.org/changeset/base/366896

Log:
  realpath(1): Add EXAMPLES section.
  
  Add a small example for this simple command.
  
  Approved by:	manpages (gbe@)
  Differential Revision:		https://reviews.freebsd.org/D26863

Modified:
  head/bin/realpath/realpath.1

Modified: head/bin/realpath/realpath.1
==============================================================================
--- head/bin/realpath/realpath.1	Tue Oct 20 13:05:25 2020	(r366895)
+++ head/bin/realpath/realpath.1	Tue Oct 20 13:15:26 2020	(r366896)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010201315.09KDFQkL096502>