[bug #61009] xargs need option to immediately stop on command fail

2021-08-05 Thread anonymous
Follow-up Comment #3, bug #61009 (project findutils): > This is my guess because the shown use of find/xargs > is quite excessive (one cp(1) invocation per file) and unsafe (unusual filenames > would break the construct). About unsafe filenames. If you talk about this: find . -type f | xargs -IX

[bug #61009] xargs need option to immediately stop on command fail

2021-08-05 Thread anonymous
Follow-up Comment #2, bug #61009 (project findutils): [comment #1 comment #1:] > POSIX [1] specifies the following conditions when xargs shall terminate processing: > * child exits with 255, > * child was killed by a signal, or > * when reading the 'eofstr' string if the '-E eofstr' option is give