summary refs log tree commit diff
path: root/src/usr.bin/rs/rs.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/rs/rs.1')
-rw-r--r--src/usr.bin/rs/rs.124
1 files changed, 22 insertions, 2 deletions
diff --git a/src/usr.bin/rs/rs.1 b/src/usr.bin/rs/rs.1
index 85d05aa..d5afec4 100644
--- a/src/usr.bin/rs/rs.1
+++ b/src/usr.bin/rs/rs.1
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: rs.1,v 1.16 2014/01/20 05:07:48 schwarze Exp $
+.\"	$OpenBSD: rs.1,v 1.18 2016/01/04 23:21:28 schwarze Exp $
 .\"	$FreeBSD: src/usr.bin/rs/rs.1,v 1.4 1999/08/28 01:05:21 peter Exp $
 .\"
 .\" Copyright (c) 1993
@@ -30,7 +30,7 @@
 .\"
 .\"	@(#)rs.1	8.2 (Berkeley) 12/30/93
 .\"
-.Dd $Mdocdate: January 20 2014 $
+.Dd $Mdocdate: January 4 2016 $
 .Dt RS 1
 .Os
 .Sh NAME
@@ -167,6 +167,19 @@ transposes its input, and assumes one array entry per input line
 unless the first non-ignored line is longer than the display width.
 Option letters which take numerical arguments interpret a missing
 number as zero unless otherwise indicated.
+.Sh ENVIRONMENT
+.Bl -tag -width LC_CTYPE
+.It Ev LC_CTYPE
+The character set
+.Xr locale 1 .
+It is used to calculate required column widths and to adjust entries
+within columns.
+If unset or set to
+.Qq C ,
+.Qq POSIX ,
+or an unsupported value, each byte is treated as a character of
+display width 1.
+.El
 .Sh EXAMPLES
 .Nm
 can be used as a filter to convert the stream output
@@ -221,6 +234,13 @@ $ rs \-eC 0 4 | sort | rs \-c 0 1
 .Xr pr 1 ,
 .Xr sort 1 ,
 .Xr vi 1
+.Sh HISTORY
+The
+.Nm
+utility first appeared in
+.Bx 4.2 .
+.Sh AUTHORS
+.An John A. Kunze
 .Sh BUGS
 Handles only two dimensional arrays.
 .Pp