Bug 9144 - bulkmarcimport.pl - Problem identifying errors
authorVitor FERNANDES <vfernandes@keep.pt>
Mon, 26 Nov 2012 11:23:15 +0000 (11:23 +0000)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 17 Dec 2012 16:53:01 +0000 (11:53 -0500)
Replace \r with \n for newline in output for bulkmarcimport.pl

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/migration_tools/bulkmarcimport.pl

index 894138d..e0f905c 100755 (executable)
@@ -187,7 +187,7 @@ RECORD: while (  ) {
     last unless ( $record );
     $i++;
     print ".";
-    print "\r$i" unless $i % 100;
+    print "\n$i" unless $i % 100;
     
     # transcode the record to UTF8 if needed & applicable.
     if ($record->encoding() eq 'MARC-8' and not $skip_marc8_conversion) {