summaryrefslogtreecommitdiff
path: root/bin/ls
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-10-24 13:46:59 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-10-24 13:46:59 +0000
commit00277a96477c1af38d9a3fb03bbe8f2f42770fc6 (patch)
treeb1f866727969bcea3b963b04fe92a831063849e2 /bin/ls
parentde3d0d9ee0e47e477f2ccd8c05914dd4e45b432d (diff)
Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@. * Resolve various gratuitious wording variations. OK jmc@.
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/ls.117
1 files changed, 10 insertions, 7 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index d637fd1a8f9..d34d9e8b7fa 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.78 2016/09/08 05:52:19 jmc Exp $
+.\" $OpenBSD: ls.1,v 1.79 2016/10/24 13:46:58 schwarze Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -33,7 +33,7 @@
.\"
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\"
-.Dd $Mdocdate: September 8 2016 $
+.Dd $Mdocdate: October 24 2016 $
.Dt LS 1
.Os
.Sh NAME
@@ -442,11 +442,14 @@ Otherwise,
.Nm
defaults to the terminal width, or 80 columns if the output is not a terminal.
.It Ev LC_CTYPE
-If set to a string ending in
-.Qq .UTF-8 ,
-.Nm
-respects character display widths when columnating output.
-Otherwise, non-ASCII bytes are replaced by question marks.
+The character encoding
+.Xr locale 1 .
+It decides which byte sequences form characters
+and what their display width is.
+If unset or set to
+.Qq C ,
+.Qq POSIX ,
+or an unsupported value, non-ASCII bytes are replaced by question marks.
.It Ev TZ
The time zone to use when displaying dates.
See