3 ms·
When I read this, I thought it was something to do with a nice looking `cat` command. Oh well, it's HN
by vkaku 7y ago
When I read this, I thought it was something to do with a nice looking `cat` command. Oh well, it's HN
- srott 7y agoThen check the grcat tool :) https://github.com/garabik/grc https://github.com/garabik/grc
- vkaku 7y agoThank you! Will do.
- bschne 7y agoCheck 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
- malvosenior 7y agoCheck out vimcat which is part of the vimpager project: https://github.com/rkitover/vimpager https://github.com/rkitover/vimpager Basically cat with vim syntax coloring.