website/content/blog/bat.md
2023-01-18 11:50:40 -05:00

573 B

title date draft tags medium_enabled
Bat is cat with syntax highlighting 2020-02-01T06:26:18-05:00 false
Linux
true

bat is a more human pleasing replacement of cat with the following features:

  • syntax highlighting support
  • git integration
  • automatic paging

To test it out I wrote a file called test.py

from collections import Counter

items = [1,3,1,6,3]
c = Counter(items)

print(c[1])

And here's a screenshot of my terminal session when I called bat

image-20200201063050726