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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to