- cross-posted to:
- luckystarr@feddit.de
- cross-posted to:
- luckystarr@feddit.de
Are these built to handle pipes? If I bat a file and redirect it to a file, does it work as expected or does it add in the escape sequences for the colors, for example?
bat foo | bar
behaves likecat foo | bar
same withand such.
Most of that stuff is MIT/Apache licensed unlike programs from GNU. Interesting.
Probably because that’s basically the default license rust projects use and a lot of this stuff is made in rust.
“bat” seemed interesting, until I remembered that I’d just do a “git diff” if I wanted to see a diff. The rest do not strike me as substantially better than what they’re trying to replace. Enjoy them all as you will, but I would recommend refraining from describing them as “modern unix” in the presence of any old-timers.
Bat also adds lots of stuff to the output. Is there a clean print functionality without the extra numbers?
Edit: but with the parameters its great!