generic/001: remove unnecessary backslash
authorMurphy Zhou <jencce.kernel@gmail.com>
Wed, 9 Oct 2019 05:34:34 +0000 (13:34 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Oct 2019 13:01:41 +0000 (21:01 +0800)
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 <jencce.kernel@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/001

index 046e54e374a41509ef8b656506ed50ba1377d2b7..3a047754a7eb428ef1fa2708ea7b6cb5c1d8e7ed 100755 (executable)
@@ -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