busybox/findutils
Ron Yorston 1c462d47a0 xargs: restore correct behaviour of -n option
Since commit 1ff7002b1 (xargs: fix handling of quoted arguments, closes
11441) the -n option hasn't worked properly:

   $ echo 1 2 3 | xargs -n 1 echo
   1
   2

   3

   $

Because state is now remembered between calls to process_stdin() it's
necessary to update the state before any premature return.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-04-29 15:53:51 +02:00
..
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
find.c find: implement -empty 2019-09-12 12:04:34 +02:00
grep.c grep: add -R 2019-11-27 17:11:09 +01:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
xargs.c xargs: restore correct behaviour of -n option 2020-04-29 15:53:51 +02:00