summaryrefslogtreecommitdiffstats
path: root/usr.bin/uniq
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-04-12 04:17:14 +0000
committertjr <tjr@FreeBSD.org>2003-04-12 04:17:14 +0000
commit4f4d51b92e2a3f5d553ccfafed1e8e9b698fe895 (patch)
tree1cbcb22a1e3c580c48c95510b6c382a5f63493ec /usr.bin/uniq
parent1b36fd7c8ad488b223f167f8225986bf56bb8f07 (diff)
downloadFreeBSD-src-4f4d51b92e2a3f5d553ccfafed1e8e9b698fe895.zip
FreeBSD-src-4f4d51b92e2a3f5d553ccfafed1e8e9b698fe895.tar.gz
Mention the environment variables that affect the execution of uniq.
Of particular interest is the fact that LC_COLLATE affects how uniq determines whether lines are equal. This was the subject of a fairly heated debate a year or so ago, and it turns out that the current behaviour is correct and that the standard contained an error. Now that the standard has been corrected by Cor. 1-2002, refer to 1003.1-2001 instead of the 1992 edition in the Standards section.
Diffstat (limited to 'usr.bin/uniq')
-rw-r--r--usr.bin/uniq/uniq.119
1 files changed, 15 insertions, 4 deletions
diff --git a/usr.bin/uniq/uniq.1 b/usr.bin/uniq/uniq.1
index 808092e..f69b7af 100644
--- a/usr.bin/uniq/uniq.1
+++ b/usr.bin/uniq/uniq.1
@@ -35,7 +35,7 @@
.\" From: @(#)uniq.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd April 12, 2003
.Dt UNIQ 1
.Os
.Sh NAME
@@ -121,6 +121,17 @@ Case insensitive comparison of lines.
.\"is a
.\"number.
.El
+.Sh ENVIRONMENT
+The
+.Ev LANG ,
+.Ev LC_ALL ,
+.Ev LC_COLLATE
+and
+.Ev LC_CTYPE
+environment variables affect the execution of
+.Nm
+as described in
+.Xr environ 7 .
.Sh DIAGNOSTICS
.Ex -std
.Sh COMPATIBILITY
@@ -134,9 +145,9 @@ options have been deprecated but are still supported in this implementation.
.Sh STANDARDS
The
.Nm
-utility is expected to be
-.St -p1003.2
-compatible.
+utility conforms to
+.St -p1003.1-2001
+as amended by Cor. 1-2002.
.Sh HISTORY
A
.Nm
OpenPOWER on IntegriCloud