summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2005-04-02 07:44:12 +0000
committertjr <tjr@FreeBSD.org>2005-04-02 07:44:12 +0000
commit3a8b8f05cd5c0b2d6f806378d6b9702de46bb60b (patch)
tree778202800cf904dfbf2b6df563af45cdbf16d390 /usr.bin/find/find.1
parent668712e3ddc095a7a77f3595447821ec23070d22 (diff)
downloadFreeBSD-src-3a8b8f05cd5c0b2d6f806378d6b9702de46bb60b.zip
FreeBSD-src-3a8b8f05cd5c0b2d6f806378d6b9702de46bb60b.tar.gz
Use rpmatch() instead of checking for responses that begin with 'y'
in queryuser(). This allows users to respond to -ok and -okdir prompts with any affirmative reply defined by their current locale.
Diffstat (limited to 'usr.bin/find/find.1')
-rw-r--r--usr.bin/find/find.118
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index e8a640c..269cf9f 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -35,7 +35,7 @@
.\" @(#)find.1 8.7 (Berkeley) 5/9/95
.\" $FreeBSD$
.\"
-.Dd July 29, 2004
+.Dd April 2, 2005
.Dt FIND 1
.Os
.Sh NAME
@@ -535,8 +535,11 @@ requests user affirmation for the execution of the
.Ar utility
by printing
a message to the terminal and reading a response.
-If the response is other than
-.Dq Li y
+.No If the response is not affirmative ( Ns
+.Ql y
+in the
+.Dq Li POSIX
+locale),
the command is not executed and the
value of the
.Ic -ok
@@ -742,6 +745,15 @@ All operands and primaries must be separate arguments to
Primaries which themselves take arguments expect each argument
to be a separate argument to
.Nm .
+.Sh ENVIRONMENT
+The
+.Ev LANG , LC_ALL , LC_COLLATE , LC_CTYPE , LC_MESSAGES
+and
+.Ev LC_TIME
+environment variables affect the execution of the
+.Nm
+utility as described in
+.Xr environ 7 .
.Sh EXAMPLES
The following examples are shown as given to the shell:
.Bl -tag -width indent
OpenPOWER on IntegriCloud