From: Murphy Zhou Date: Wed, 9 Oct 2019 05:34:34 +0000 (+0800) Subject: generic/001: remove unnecessary backslash X-Git-Tag: v2022.05.01~1004 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=95a2510bb1f2844adb3615feda50d49a9b903fae;p=xfstests-dev.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/tests/generic/001 b/tests/generic/001 index 046e54e3..3a047754 100755 --- a/tests/generic/001 +++ b/tests/generic/001 @@ -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