2 ms·
The author refers to "the shell" in his "benchmark" but if he is a Linux user then sh -c 'f 11 access.2020-01-* ... is dash whereas f 11 access.2020-01
by 3xblah 7y ago
The author refers to "the shell" in his "benchmark" but if he is a Linux user then
sh -c 'f 11 access.2020-01-* ... is dash
whereas
f 11 access.2020-01* ... is bash
Needless to say, one of these shells is much faster than the other and only one contains the "time" builtin command.
https://wiki.ubuntu.com/DashAsBinSh https://wiki.ubuntu.com/DashAsBinSh
Then there is the use of perl and its system command in "count". As with seq, why is perl needed. No explanation. Why not just put the entire pipeline into a perl system command.