1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-29 11:59:36 +02:00

quotemeta

This commit is contained in:
Jim Meyering
2002-07-19 22:01:43 +00:00
parent 748de084cc
commit e724268ea5
+2 -1
View File
@@ -75,7 +75,8 @@ foreach my $dir (@dir_list)
. " got $status, expected 1\n";
my $exp = "rm: cannot remove `$dir/$f':";
$line =~ /^$exp/
my $regex = quotemeta $exp;
$line =~ /^$regex/
or die "$ME: unexpected dignostic from `$cmd';\n"
. " got $line"
. " expected $exp ...\n";