projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5d953
)
bug 4451 followup - don't need /g for this replace
author
Galen Charlton
<gmcharlt@gmail.com>
Sat, 13 Nov 2010 17:58:55 +0000
(12:58 -0500)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/tools/batchMod.pl
b/tools/batchMod.pl
index
84d1ae1
..
9982e2d
100755
(executable)
--- 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;
}