-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
I got the error message .grep: warning: stray \ before !
when bb ran. I changed \!
to !
in two lines in the script, which fixed the error.
Here's the diff:
710c710
< nposts=$(grep -c "<\!-- text begin -->" "$i")
---
> nposts=$(grep -c "<!-- text begin -->" "$i")
870c870
< nposts=$(grep -c "<\!-- text begin -->" "$i")
---
> nposts=$(grep -c "<!-- text begin -->" "$i")
Note that I had to add a zero-width space in the code above so that it renders properly, I guess you can't just copy it as is.
Edit 2023-02-27:
With this modification the footer is inserted twice. The issue remains, my solution above is not adequate.
Metadata
Metadata
Assignees
Labels
No labels