jenny icon indicating copy to clipboard operation
jenny copied to clipboard

gawk regexp escape sequence is not a known regexp operator

Open alexmat opened this issue 4 years ago • 2 comments

fresh install from master branch:

$ jenny
[jenny] Sourced .blogrc
[jenny] Generating main index
[jenny] ☶ 2020-03-13 hello-world.md
gawk: ~/.local/share/jenny/lib/md2html.awk:30: warning: regexp escape sequence `\!' is not a known regexp operator
gawk: ~/.local/share/jenny/lib/md2html.awk:109: warning: regexp escape sequence `\"' is not a known regexp operator
$ awk --version
GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)

alexmat avatar Mar 12 '20 16:03 alexmat

I'm not able to replicate this, on the same version of gawk. Let me know if this issue persists (I know it's been over a year!).

hmngwy avatar Apr 06 '21 12:04 hmngwy

Found it, it is an incompatibility with gawk 5.0.1, similar discovery here: https://github.com/KittyKatt/screenFetch/issues/627

Temporary fix is to downgrade to gawk 4.x.x. Contemplating whether I should vendor in a different script like Gruber's markdown.pl (thus breaking older jenny sites), or simply update this one.

hmngwy avatar Apr 07 '21 19:04 hmngwy