DEV Community

loading...

Discussion on: jq hack #1: colored less

Collapse
aakatev profile image
Artem

Great tip. I imagine it can also be used with other CLI tools dumping ANSI color codes.

Collapse
sshine profile image
Simon Shine Author

Yes, definitely! This was inspired by another trick I did with ack some years ago:

What if, when you grep, it goes into pager mode when results don't fit one screen?

It means that the UNIX programs are designed well, in my opinion. :-)