Re:Bat: Cat with Syntax Highlighting
by dTal on Wednesday October 08, 2025 @04:56AM
(#45513790)
This... doesn't work? Everything just comes out green. It's not clear to me how 'highlight' could even possibly know what syntax it's supposed to be highlighting when processing stdin, unless it ingests the whole thing until EOF and then applies some kind of fuzzy logic. If you feed it a filename as an argument, it just checks the extension.
[ Parent
| on HN ]
There are no comments on this comment yet.