bug 4451 followup - don't need /g for this replace
authorGalen Charlton <gmcharlt@gmail.com>
Sat, 13 Nov 2010 17:58:55 +0000 (12:58 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 30 Nov 2010 01:29:17 +0000 (14:29 +1300)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
tools/batchMod.pl

index 84d1ae1..9982e2d 100755 (executable)
@@ -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;
         }