3 ms·
>cat, but actually designed for reading files. Syntax highlighting, line numbers, automatic paging. // `less` not good enough?
by pbhjpbhj 6y ago
>cat, but actually designed for reading files. Syntax highlighting, line numbers, automatic paging. //
`less` not good enough?
- atsaloli 6y agoI’ve never seen syntax highlighting in “less”.
- atsaloli 6y agoHa! Here’s how to have syntax highlighting while using less: https://superuser.com/questions/71588/how-to-syntax-highlight-via-less https://superuser.com/questions/71588/how-to-syntax-highligh...
- kps 6y agoWhile I don't use syntax highlighting, I find `lesspipe` useful for files that have a reasonable ‘presentation form’ as well as a source form — html, markdown, etc.