Add an scape for the "." characters on the sed expressions

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab
2012-08-15 18:15:16 -03:00
parent 9759972af0
commit 4bacf25484
2 changed files with 1314 additions and 1312 deletions

View File

@@ -12,6 +12,8 @@ while (<>) {
if ($from && $to) {
printf "$from -> $to\n" if ($debug);
$from =~ s/\./\\./g;
$to =~ s/\./\\./g;
$sed .= "\t-e 's,$from,$to,g' \\\n";
$from = 0;
$to = 0;

File diff suppressed because it is too large Load Diff