Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENT
section. Re-add a sentence from the BUGS section that went missing in the previous commit.
This commit is contained in:
parent
be1e68e14d
commit
66339977f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132396
@ -80,11 +80,16 @@ up to and including the first occurrence of
|
|||||||
.Ar termchar
|
.Ar termchar
|
||||||
are compared.
|
are compared.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Sh ENVIRONMENT
|
||||||
The
|
The
|
||||||
|
.Ev LANG , LC_ALL
|
||||||
|
and
|
||||||
|
.Ev LC_CTYPE
|
||||||
|
environment variables affect the execution of the
|
||||||
.Nm
|
.Nm
|
||||||
utility exits 0 if one or more lines were found and displayed,
|
utility.
|
||||||
1 if no lines were found, and >1 if an error occurred.
|
Their effect is described in
|
||||||
|
.Xr environ 7 .
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /usr/share/dict/words -compact
|
.Bl -tag -width /usr/share/dict/words -compact
|
||||||
.It Pa /usr/share/dict/words
|
.It Pa /usr/share/dict/words
|
||||||
@ -93,6 +98,11 @@ the dictionary
|
|||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr grep 1 ,
|
.Xr grep 1 ,
|
||||||
.Xr sort 1
|
.Xr sort 1
|
||||||
|
.Sh DIAGNOSTICS
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
utility exits 0 if one or more lines were found and displayed,
|
||||||
|
1 if no lines were found, and >1 if an error occurred.
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
The original manual page stated that tabs and blank characters participated
|
The original manual page stated that tabs and blank characters participated
|
||||||
in comparisons when the
|
in comparisons when the
|
||||||
@ -106,6 +116,8 @@ A
|
|||||||
utility appeared in
|
utility appeared in
|
||||||
.At v7 .
|
.At v7 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
|
Lines are not compared according to the current locale's collating
|
||||||
|
order.
|
||||||
Input files must be sorted with
|
Input files must be sorted with
|
||||||
.Ev LC_COLLATE
|
.Ev LC_COLLATE
|
||||||
set to
|
set to
|
||||||
|
Loading…
Reference in New Issue
Block a user