News for hackers. Stuff that matters.
Re:Bat: Cat with Syntax Highlighting by MisterTea on Tuesday October 07, 2025 @06:02PM (#45509479)
You don't need cat:

  highlight --force -O xterm256 < whatever | less -SRNI
Re:Bat: Cat with Syntax Highlighting by dicytea on Tuesday October 07, 2025 @06:16PM (#45509625)
Sadly does not work on fish because the developers does not believe that users are intelligent enough to understand the obvious and intuitive outcome of flipping ">" (a valid operator in fish).
Re:Bat: Cat with Syntax Highlighting by em-bee on Tuesday October 07, 2025 @07:59PM (#45510455)
you don't need "<" either. highlight takes a filename as argument just like cat or bat
Re:Bat: Cat with Syntax Highlighting by MisterTea on Wednesday October 08, 2025 @09:52AM (#45516235)
I actually never used highlight so that is ignorance on my part.