3 ms·
It's worth noting that if you're messing around with large text files from the CLI, awk, grep, etc will be an order-of-magnitude faster if you opt out of unicod
by fizx 3y ago
It's worth noting that if you're messing around with large text files from the CLI, awk, grep, etc will be an order-of-magnitude faster if you opt out of unicode parsing.
I'm pretty confident adding LC_ALL=C to the awk solution would get it easily under a minute.
- benhoyt 3y agoIt's a good point, but I believe because of the "-b" option (characters as bytes), using LC_ALL=C doesn't make a difference.