diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-19 11:18:56 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-19 11:18:56 +0000 |
commit | 66339977f4809cbb9db59798552b749163845e04 (patch) | |
tree | 6771c62f6327e9bdd78a6509782b91e6e7b76b05 /usr.bin/look | |
parent | be1e68e14ddbb57746fdacfcb0cb6774363633da (diff) | |
download | src-test-66339977f4809cbb9db59798552b749163845e04.tar.gz src-test-66339977f4809cbb9db59798552b749163845e04.zip |
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.
Notes
Notes:
svn path=/head/; revision=132396
Diffstat (limited to 'usr.bin/look')
-rw-r--r-- | usr.bin/look/look.1 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1 index c3d0db2af82d3..09df6010c2db8 100644 --- a/usr.bin/look/look.1 +++ b/usr.bin/look/look.1 @@ -80,11 +80,16 @@ up to and including the first occurrence of .Ar termchar are compared. .El -.Pp +.Sh ENVIRONMENT The +.Ev LANG , LC_ALL +and +.Ev LC_CTYPE +environment variables affect the execution of 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. +utility. +Their effect is described in +.Xr environ 7 . .Sh FILES .Bl -tag -width /usr/share/dict/words -compact .It Pa /usr/share/dict/words @@ -93,6 +98,11 @@ the dictionary .Sh SEE ALSO .Xr grep 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 The original manual page stated that tabs and blank characters participated in comparisons when the @@ -106,6 +116,8 @@ A utility appeared in .At v7 . .Sh BUGS +Lines are not compared according to the current locale's collating +order. Input files must be sorted with .Ev LC_COLLATE set to |