4 ms·
Argument list too long!
by tzahola 8y ago
Argument list too long!
- Something1234 8y agoIncrease your stack size then. ulimit -s 65536 https://unix.stackexchange.com/a/45584/115135 https://unix.stackexchange.com/a/45584/115135
- pwg 8y agoThen do: find -name \*.pgn -print0 | xargs -0 grep -h "Result" Each grep invocation will consume a maximum number of arguments, and xargs will invoke the minimum number of greps to process everything, with no "args too long" errors.