Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Bat is cat with syntax highlighting

Published on

Updated on

Warning: This post has not been modified for over 2 years. For technical posts, make sure that it is still relevant.

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)


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


Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter

Published a response to this? :