Instead of manually specify -n that is a multiple of m which could
overflow, maybe xargs should have an additional argument to allow -n
be the maximum allowable multiple of m?

>   $ seq 1000000 | xargs -n $(( 5 * 2000 )) printf '%s\t%s\t%s\t%s\t%s\n'
> /tmp/1.txt
>   $ < /tmp/1.txt awk -e '!($1 && $2 && $3 && $4 && $5)'  | wc -l

-- 
Regards,
Peng

Reply via email to