aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-05-19 18:23:18 +0200
committerDuncaen <mail@duncano.de>2017-05-19 18:41:03 +0200
commit78d1bc6d6018e5fcf1aa05d867c4a2c2c23202a5 (patch)
tree7d984554b333fa1b6d9e0c60308c322ee31aa0b3
parent5de9cc957c4a2e6dfe0cf60bb6a21f3ec9aa72c0 (diff)
downloadlobase-78d1bc6d6018e5fcf1aa05d867c4a2c2c23202a5.tar.gz
usr.bin/rev: update to OPENBSD_6_1
-rw-r--r--usr.bin/rev/rev.116
1 files changed, 13 insertions, 3 deletions
diff --git a/usr.bin/rev/rev.1 b/usr.bin/rev/rev.1
index 132b212..408bbee 100644
--- a/usr.bin/rev/rev.1
+++ b/usr.bin/rev/rev.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rev.1,v 1.7 2009/08/16 09:41:08 sobrado Exp $
+.\" $OpenBSD: rev.1,v 1.8 2016/10/28 07:28:27 schwarze Exp $
.\" $NetBSD: rev.1,v 1.3 1995/09/28 08:49:39 tls Exp $
.\"
.\" Copyright (c) 1985, 1992, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)rev.1 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: August 16 2009 $
+.Dd $Mdocdate: October 28 2016 $
.Dt REV 1
.Os
.Sh NAME
@@ -45,5 +45,15 @@ 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 ENVIRONMENT
+.Bl -tag -width LC_CTYPE
+.It Ev LC_CTYPE
+The character encoding
+.Xr locale 1 .
+It decides which byte sequences form characters.
+If unset or set to "C", "POSIX", or an unsupported value,
+the order of individual bytes is reversed.
+.El
.Sh SEE ALSO
-.Xr cat 1
+.Xr cat 1 ,
+.Xr cut 1