bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

batman: unexpected EOF while looking for matching

Open WhyNotHugo opened this issue 3 years ago • 2 comments

> 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.

WhyNotHugo avatar Sep 01 '22 13:09 WhyNotHugo

When running just batman, picking almost any item from the list errors like this:

image

WhyNotHugo avatar Sep 01 '22 13:09 WhyNotHugo

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 😅

eth-p avatar Mar 21 '23 08:03 eth-p