From d056b2f62a7f971126590236bee54a344d526fb7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sat, 13 Nov 2010 12:58:55 -0500 Subject: [PATCH] bug 4451 followup - don't need /g for this replace Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 84d1ae14b3..9982e2d88c 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -169,7 +169,7 @@ if ($op eq "show"){ my @contentlist; if ($filefh){ while (my $content=<$filefh>){ - $content =~ s/[\r\n]*$//g; + $content =~ s/[\r\n]*$//; push @contentlist, $content if $content; } -- 2.39.5