‑‑max‑args=max‑args
-n max‑args
At most max‑args arguments are used per command line.
--max-args=1 generates a seperate command for each argument.
> ls -1 b* | xargs echo +
+b1 b2 b3
> ls -1 b* | xargs -max-args=1 echo +
+b1
+b2
+b3
| |
Fewer than max‑args arguments will be used if max-chars
is exceeded, unless ‑‑exit is given, in which case xargs exits.
| ‑‑repl[=repl‑str]
‑[repl‑str]
Without this option, STDIN‑args are appended to the command's arguments.
Use STDIN‑args to replace occurences of repl‑str in the common-args .
Unquoted blanks do not terminate arguments.
Default {} (like for find -exec )
Implies ‑‑exit and ‑‑max‑lines=1 .
| -J repl-str | |