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 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: Logo

You are commenting using your 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: