aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xargs/xargs.1
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-05-05 06:42:44 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-05-05 06:42:44 +0000
commit305e39f49bbeafd3fe707ee797ac664d616d9d62 (patch)
treebf58852562149a008e8a638271e9a0f4feefb925 /usr.bin/xargs/xargs.1
parent15fdd586e37fea20c9148ea5819b2dcde099cb4a (diff)
downloadsrc-305e39f49bbeafd3fe707ee797ac664d616d9d62.tar.gz
src-305e39f49bbeafd3fe707ee797ac664d616d9d62.zip
Modify the -p implementation to use a user's locale, so they can respond to
the prompt in their native language. Also make the prompt fit what POSIX asks for (?...). This should not affect use of -p with yes(1) [as every locale I know of matches 'y' as YESEXPR as well], but that's what -t is for anyway. -p is meant to be really used interactively. Submitted by: tjr, jmallett
Notes
Notes: svn path=/head/; revision=96057
Diffstat (limited to 'usr.bin/xargs/xargs.1')
-rw-r--r--usr.bin/xargs/xargs.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1
index d846b48eba5f..e33dc6ab668c 100644
--- a/usr.bin/xargs/xargs.1
+++ b/usr.bin/xargs/xargs.1
@@ -194,10 +194,12 @@ is 5000.
.It Fl p
Echo each command to be executed and ask the user whether it should be
executed.
-A response of
+An affirmative response,
.Ql y
+in the POSIX locale,
causes the command to be executed, any other response causes it to be
skipped.
+No commands are executed if the process is not attached to a terminal.
.It Fl R Ar replacements
This option specifies the maximum number of arguments that
.Fl I