3 ms·
Check out bat, it is almost a bit over-designed, but features line numbers, syntax highlighting, and paging without piping to less/more out of the box: https:/
by bschne 7y ago
Check out bat, it is almost a bit over-designed, but features line numbers, syntax highlighting, and paging without piping to less/more out of the box:
https://github.com/sharkdp/bat https://github.com/sharkdp/bat
- Fnoord 7y agoCame here to add that. I'll add it is written in Rust by same author as fd utility (find replacement)
- icebraining 7y agoThe old BSD cat already has line numbers, which led to Rob Pike's 1983 presentation titled ‘UNIX Style, or cat -v Considered Harmful’: http://harmful.cat-v.org/cat-v/ http://harmful.cat-v.org/cat-v/ If I was the author of bat, I'd consider inserting that link into the README, just as tongue-in-cheek :D