diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-05-05 06:42:44 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-05-05 06:42:44 +0000 |
commit | e6d711b45aaff94c6116189ffc64a692ef2e1f0d (patch) | |
tree | bf58852562149a008e8a638271e9a0f4feefb925 /usr.bin/xargs/xargs.1 | |
parent | 7e1b68b6e0ebd9125f75b4f5f6c9367c93f1a0be (diff) | |
download | FreeBSD-src-e6d711b45aaff94c6116189ffc64a692ef2e1f0d.zip FreeBSD-src-e6d711b45aaff94c6116189ffc64a692ef2e1f0d.tar.gz |
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
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 d846b48..e33dc6a 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 |