Author: fernape (ports committer)
Date: Sat Jun 27 11:19:18 2020
New Revision: 362677
URL: https://svnweb.freebsd.org/changeset/base/362677

Log:
  rev(1): Add EXAMPLES section
  
  Very simple example.
  
  Approved by:  imp, 0mp, manpages(bcr)
  Differential Revision:        https://reviews.freebsd.org/D25468

Modified:
  head/usr.bin/rev/rev.1

Modified: head/usr.bin/rev/rev.1
==============================================================================
--- head/usr.bin/rev/rev.1      Sat Jun 27 11:13:45 2020        (r362676)
+++ head/usr.bin/rev/rev.1      Sat Jun 27 11:19:18 2020        (r362677)
@@ -28,7 +28,7 @@
 .\"    @(#)rev.1       8.1 (Berkeley) 6/9/93
 .\" $FreeBSD$
 .\"
-.Dd June 9, 1993
+.Dd June 27, 2020
 .Dt REV 1
 .Os
 .Sh NAME
@@ -43,3 +43,10 @@ The
 utility copies the specified files to the standard output, reversing the
 order of characters in every line.
 If no files are specified, the standard input is read.
+.Sh EXAMPLES
+Reverse the text from stdin:
+.Bd -literal -offset indent
+$ echo -e "reverse \et these\entwo lines" | rev
+eseht    esrever
+senil owt
+.Ed
_______________________________________________
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