You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: