5 ms·
bashumerate — iterate over files, lines, ranges, or lists with a consistent {} syntax. No for loops, no find -exec, no xargs flags to remember. enumerate -f '*.
by wallach-game 2mo ago
bashumerate — iterate over files, lines, ranges, or lists with a consistent {} syntax. No for loops, no find -exec, no xargs flags to remember.
enumerate -f '*.sh' -- wc -l {}
enumerate -L a b c -- 'echo {}'
Under 150 lines of bash, pluable sources, NUL-safe.
https://github.com/wallach-game/bashumerate https://github.com/wallach-game/bashumerate
- figmert 2mo agoHave you seen parallel?