lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit 78d1bc6d6018e5fcf1aa05d867c4a2c2c23202a5
parent 5de9cc957c4a2e6dfe0cf60bb6a21f3ec9aa72c0
Author: Duncaen <mail@duncano.de>
Date:   Fri, 19 May 2017 18:23:18 +0200

usr.bin/rev: update to OPENBSD_6_1

Diffstat:
usr.bin/rev/rev.1 | 16+++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)

diff --git 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