diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-05-05 06:42:44 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-05-05 06:42:44 +0000 |
commit | 305e39f49bbeafd3fe707ee797ac664d616d9d62 (patch) | |
tree | bf58852562149a008e8a638271e9a0f4feefb925 /usr.bin/xargs/xargs.1 | |
parent | 15fdd586e37fea20c9148ea5819b2dcde099cb4a (diff) | |
download | src-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.1 | 4 |
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 |