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

Regex warning with grep 3.8 #4

Closed
S-Rafael opened this issue Nov 9, 2022 · 2 comments
Closed

Regex warning with grep 3.8 #4

S-Rafael opened this issue Nov 9, 2022 · 2 comments

Comments

@S-Rafael
Copy link
Contributor

S-Rafael commented Nov 9, 2022

Running btex prints the following warning:

grep: warning: stray \ before d

Steps to reproduce:

  1. Create a minimal tex file:
\documentclass{article}
\begin{document}
Lorem ipsum...
\end{document}

and save it as test.tex.
2. Run btex test.tex.

What happens

The warning mentioned above appears on the command line, before any latex compiler output.

What should happen

No warning.

Version info

Happens on the latest btex from master. Running grep -V prints

grep (GNU grep) 3.8
@ppurka
Copy link
Owner

ppurka commented Nov 10, 2022

Will have a look at the script after upgrading grep.

Haven't seen this here. grep-3.8 is still on unstable status on Gentoo: https://packages.gentoo.org/packages/sys-apps/grep

@ppurka
Copy link
Owner

ppurka commented Nov 12, 2022

Fixed by latest head (tag: issue-4)

@ppurka ppurka closed this as completed Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants