xargs command for MoonX.
printf 'one\ntwo\n' | moonx cli/xargs -n 1 printf '%s\n'
moonx cli/xargs -0 -n 10 printf '%s\n' < names.nul| Option | Description |
|---|---|
| -0, --null | Read NUL-delimited items without quote or backslash processing. |
| -d VALUE, --delimiter VALUE | Separate input items with the selected byte. |
| -n VALUE, --max-args VALUE | Limit arguments per invocation. |
| -r, --no-run-if-empty | Do not invoke the command for empty input. |
| -I VALUE, --replace VALUE | Replace TEXT using logical input lines. |
| -P VALUE, --max-procs VALUE | Run at most N batches concurrently. Default: 1. |
| --help | Show help. |
| --version | Show the version. |