xargs: add support for -I and -i. Closes 493
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Feb 2014 10:17:06 +0000 (11:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Feb 2014 10:17:06 +0000 (11:17 +0100)
commit6f068904dc142657bb596f91196f9113f1838cbe
treeac02741b3c8b74bf3a078aeb13ef7ff1c5e1e23f
parent6885e49ba596239a0b0d3631fd72fc2692fbb65c
xargs: add support for -I and -i. Closes 493

function                                             old     new   delta
process_stdin_with_replace                             -     195    +195
xmalloc_substitute_string                              -     145    +145
xargs_main                                           808     884     +76
count_strstr                                           -      45     +45
packed_usage                                       29580   29571      -9
parse_params                                        1445    1416     -29
func_exec                                            285     138    -147
------------------------------------------------------------------------------
(add/remove: 4/0 grow/shrink: 1/3 up/down: 461/-185)          Total: 276 bytes
   text    data     bss     dec     hex filename
 922156     932   17692  940780   e5aec busybox_old
 922440     932   17692  941064   e5c08 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c
findutils/xargs.c
include/libbb.h
libbb/replace.c [new file with mode: 0644]