From 5d24340e142459d9b5e6c126225fc9b477306e37 Mon Sep 17 00:00:00 2001 From: Vitor FERNANDES Date: Mon, 26 Nov 2012 11:23:15 +0000 Subject: [PATCH] Bug 9144 - bulkmarcimport.pl - Problem identifying errors Replace \r with \n for newline in output for bulkmarcimport.pl \r is the newline character for OS X, \n is the newline character for Linux. Signed-off-by: Kyle M Hall --- misc/migration_tools/bulkmarcimport.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index 894138d..e0f905c 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -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) { -- 1.7.2.5