Skip to contentSkip to conversation

generic/001: remove unnecessary backslash

PATCH In review Murphy Zhou 2 participants 2 messages Oct 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic/001: remove unnecessary backslash

Awk 5.0.1 is complaining about this backslash and causing false alarm like this:
warning: regexp escape sequence '\#' is not a known regexp operator

This fix works fine with Awk 3.1.7 , 4.0.2 , 4.2.1 and 5.0.1. This backslash is not necessary.

---
 tests/generic/001 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/001 +1 -1
index 046e54e3..3a047754 100755
@@ -177,7 +177,7 @@ _chain()
 {
     $AWK_PROG -v full_file=$seqres.full -v verify=$verify <$tmp.config '
 BEGIN	{ nfile = 0 }
-/^\#/	{ next }
+/^#/	{ next }
 	{ file[nfile] = $1
 	  size[nfile] = $2
 	  link[nfile] = 0
Signature · 1 line
2.20.1