pkgtools/libnbcompat: fix regular expression literals in AWK program gawk: nbcompat.awk:5: warning: regexp escape sequence `\#' is not a known regexp operatordiff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/nbcompat.awk
(rillig)
@@ -2,14 +2,14 @@
/NBCOMPAT template section follows\./ { process = 0 }
-/^\#[ ]*define[ ]+PACKAGE_.*/ {
+/^#[ ]*define[ ]+PACKAGE_.*/ {
if (process == 1) {
print "/* " $0 " */";
next;
}
}
-/^\#[ ]*define[ ]+/ {
+/^#[ ]*define[ ]+/ {
if (process == 1) {
guard = $0;
sub("^#[ ]*define[ ]+", "", guard);