Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

batman: unexpected EOF while looking for matching #80

Open
WhyNotHugo opened this issue Sep 1, 2022 · 2 comments
Open

batman: unexpected EOF while looking for matching #80

WhyNotHugo opened this issue Sep 1, 2022 · 2 comments
Labels
batman Related to the batman script. bug Something isn't working

Comments

@WhyNotHugo
Copy link

> 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
Copy link
Author

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

image

@WhyNotHugo WhyNotHugo changed the title -bx: -c: line 1: unexpected EOF while looking for matching `"' batman: -bx: -c: line 1: unexpected EOF while looking for matching `"' Sep 1, 2022
@WhyNotHugo WhyNotHugo changed the title batman: -bx: -c: line 1: unexpected EOF while looking for matching `"' batman: unexpected EOF while looking for matching Sep 1, 2022
@eth-p
Copy link
Owner

eth-p commented Mar 21, 2023

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 eth-p added bug Something isn't working batman Related to the batman script. labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batman Related to the batman script. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants