=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cut/cut.1,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/cut/cut.1 2015/12/02 00:56:46 1.25 +++ src/usr.bin/cut/cut.1 2015/12/06 06:15:05 1.26 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cut.1,v 1.25 2015/12/02 00:56:46 schwarze Exp $ +.\" $OpenBSD: cut.1,v 1.26 2015/12/06 06:15:05 schwarze Exp $ .\" $NetBSD: cut.1,v 1.6 1995/10/02 20:19:26 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)cut.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: December 2 2015 $ +.Dd $Mdocdate: December 6 2015 $ .Dt CUT 1 .Os .Sh NAME @@ -120,6 +120,25 @@ Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified. .El +.Sh ENVIRONMENT +.Bl -tag -width LC_CTYPE +.It Ev LC_CTYPE +The character set +.Xr locale 1 , +defining which byte sequences form characters. +If unset or set to +.Qq C , +.Qq POSIX , +or an unsupported value, +.Fl c +does the same as +.Fl b , +.Fl n +has no effect, and +.Fl d +uses the first byte of +.Ar delim . +.El .Sh EXIT STATUS The .Nm @@ -146,20 +165,3 @@ utility is compliant with the .St -p1003.1-2008 specification. -.Sh CAVEATS -The definition of a character depends on the current character set -.Xr locale 1 . -If -.Ev LC_CTYPE -is set to -.Qq C -or -.Qq POSIX , -.Fl c -does the same as -.Fl b , -.Fl n -has no effect, and -.Fl d -uses the first byte of -.Ar delim .