by planetafro · 4y ago · 0 comments
cat, ls, etc.. just work, bat has to be installed, and I have a pretty high threshold for a utility to be so vital for me that I absolutely have to install it in every Unix box I work.
That way, I don't have manually install everything for new systems or when I'm doing a clean install on one of my existing systems.
I just tested simple concatenation and bat is over 10x slower:
$ time cat 1GiB 1GiB 1GiB 1GiB >/dev/null
real 0m0.414s
user 0m0.014s
sys 0m0.400s
$ time bat 1GiB 1GiB 1GiB 1GiB >/dev/null
real 0m4.257s
user 0m1.659s
sys 0m2.594s
Seems like a lot of these "modern" replacements lose what the original simpler utils do well.Seems like a recurring thing[0] with the modern alternatives.
I have limited focus as is, if I can make mental search easier, it takes a noticeable cognitive load off.