diff options
| author | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-18 13:19:32 +0200 |
|---|---|---|
| committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-18 13:19:32 +0200 |
| commit | 7741d79fa3f564f340ef2c26407dd6d3b1f60d42 (patch) | |
| tree | e775dd213c5ff7cc9becf0105890654d9a031c01 | |
| parent | 013054ffc2a6118dbb68eb9192f0478d48d33cfe (diff) | |
| download | findutils-7741d79fa3f5.tar.gz | |
doc: fix typo in 'xargs -l' examples in texinfo manual
* doc/find.texi (node Controlling Parallelism): Change from 'xargs -1'
(minus one) to 'xargs -l' (minus El) in three places.
Reported by Ahmad ElKomey in
https://sv.gnu.org/bugs/index.php?54859
| -rw-r--r-- | NEWS | 3 | ||||
| -rw-r--r-- | doc/find.texi | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -58,6 +58,9 @@ Some minor documentation improvements are listed in "Bug Fixes" below. ** Bug Fixes +#54859: doc: fix typo in 'xargs -l' examples in texinfo manual. + Change from 'xargs -1' (minus one) to 'xargs -l' (minus El) in 3 places. + #54838: doc: fix the examples of the -perm option in the texinfo documentation. The example '-perm -g+w,o+w' was misplaced. Bug present since FINDUTILS_4_2_27-1. diff --git a/doc/find.texi b/doc/find.texi index 4bd4b17..634dfb2 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -2576,7 +2576,7 @@ work that it takes significant time to run, even on a single image. You could run: @example -find originals -name '*.jpg' | xargs -1 makeallsizes +find originals -name '*.jpg' | xargs -l makeallsizes @end example This will run @code{makeallsizes @var{filename}} once for each @code{.jpg} @@ -2585,7 +2585,7 @@ two central processors, this script will only keep one of them busy. Instead, you could probably finish in about half the time by running: @example -find originals -name '*.jpg' | xargs -1 -P 2 makeallsizes +find originals -name '*.jpg' | xargs -l -P 2 makeallsizes @end example @code{xargs} will run the first two commands in parallel, and then @@ -2626,7 +2626,7 @@ If you send it the signal @code{SIGUSR1}, it will run one more command in parallel. For example: @example -shell$ xargs <allimages -1 -P 4 makeallsizes & +shell$ xargs <allimages -l -P 4 makeallsizes & [4] 27643 ... at some later point ... shell$ kill -USR2 27643 |
