]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/ftwtest-sh
grep: egrep -> grep -E, fgrep -> grep -F
[thirdparty/glibc.git] / io / ftwtest-sh
index db82d4871bbe6d194af0312271fe8b13b67578aa..174a3ab6a5803548e2e97ac28f1c40a0475b4dfb 100644 (file)
@@ -268,7 +268,7 @@ $testprogram --skip-siblings=file@1b $tmpdir |
 regexp=`echo $(ls -U $tmp/$ftwtest/foo/lvl1b \
               | sed -n '/file@1b$/,${/file[23]@1b$/p;}') | sed 's, ,|,'`
 catcmd=cat
-[ -n "$regexp" ] && catcmd="egrep -v $regexp"
+[ -n "$regexp" ] && catcmd="grep -E -v $regexp"
 
 $catcmd <<EOF | diff -u $testout - || exit 1
 base = "$tmp/", file = "$ftwtest", flag = FTW_D, level = 0