diff options
author | David Leonard | 2023-01-29 12:07:08 +1000 |
---|---|---|
committer | Denys Vlasenko | 2023-03-28 18:08:02 +0200 |
commit | d8a33603801476dd870ea66c36cf7c64d852d674 (patch) | |
tree | 9f4f45ee78d973bc10015b8e452e23ea88bcea1c /coreutils/touch.c | |
parent | 2d4a3d9e6c1493a9520b907e07a41aca90cdfd94 (diff) | |
download | busybox-d8a33603801476dd870ea66c36cf7c64d852d674.zip busybox-d8a33603801476dd870ea66c36cf7c64d852d674.tar.gz |
find: implement -ok
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html
-ok utility_name [argument ...] ;
The -ok primary shall be equivalent to -exec, except that the use
of a <plus-sign> to punctuate the end of the primary expression
need not be supported, and find shall request affirmation of the
invocation of utility_name using the current file as an argument
by writing to standard error as described in the STDERR section. If
the response on standard input is affirmative, the utility shall be
invoked. Otherwise, the command shall not be invoked and the value
of the -ok operand shall be false.
function old new delta
do_exec 438 517 +79
parse_params 1833 1845 +12
static.params 288 292 +4
.rodata 100771 100775 +4
packed_usage 34543 34541 -2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 99/-2) Total: 97 bytes
Signed-off-by: David Leonard <d+busybox@adaptive-enterprises.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/touch.c')
0 files changed, 0 insertions, 0 deletions