generic/001: remove unnecessary backslash
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.
Signed-off-by Murphy Zhou <[email protected]>
--- tests/generic/001 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/001 +1 -1
@@ -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
Quoted 8 lines · Murphy Zhou
Awk 5.0.1 is complaining about this backslash and causing false alarm like this:
warning: regexp escape sequence '\#' is not a known regexp operatorThis fix works fine with Awk 3.1.7 , 4.0.2 , 4.2.1 and 5.0.1. This backslash is not necessary.
Signed-off-by Murphy Zhou <[email protected]>
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>