seq 100 | ... wc -l
What can fill in for ... so that that wc -l prints 10, ten times? A clunky way I can think of is:
seq 100 | xargs -L10 bash -c '(for i; do echo $i; done) | wc -l' bash
Wondering if there’s a better and idiomatic way to do the same.