bat-extras
bat-extras copied to clipboard
batman: unexpected EOF while looking for matching
> batman man
-bx: -c: line 1: unexpected EOF while looking for matching `"'
-bx: -c: line 2: syntax error: unexpected end of file
> batman --version
batman 2022.07.29
Copyright (C) 2019-2021 eth-p | MIT License
https://github.com/eth-p/bat-extras
man is from mandoc 1.14.6, on ArchLinux.
When running just batman, picking almost any item from the list errors like this:

I'm not too sure about the former since I can't reproduce it, but the latter looks like a problem with the regular expression I used to parse the manual section. I'm not really sure what exactly the , is supposed to denote here, but if it's saying that "stdbool.h" is available in sections 0P and 0p, it will likely take a bit more than just a regex change to fix 😅