batcat: Syntax Highlighting Replacement for cat and more Commands

My time writing for another blog about rust led me to the batcat command, which provides a code syntax-highlighting replacement for the Unix cat and more commands, written in rust.

sudo apt install bat
batcat lib.rs
batcat wince

It is not helpful in this example, but there is even an attempt at git integration.

But that whitespace before the namespace that does not appear in other editors? Could it be a byte order mark or something?

batcat ContentTypeIdentifierAttribute.cs 

Anyway, pure awesomeness!

And here is that rust blog, in case anyone missed it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: