Bugzilla – Attachment 14027 Details for
Bug 9144
bulkmarcimport.pl - Problem identifying errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9144 - bulkmarcimport.pl - Problem identifying errors
Bug-9144---bulkmarcimportpl---Problem-identifying-.patch (text/plain), 1.09 KB, created by
Paul Poulain
on 2012-12-12 08:05:03 UTC
(
hide
)
Description:
Bug 9144 - bulkmarcimport.pl - Problem identifying errors
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-12-12 08:05:03 UTC
Size:
1.09 KB
patch
obsolete
>From fd5c0c334343556044ab1f9af4aaf489356b09cd Mon Sep 17 00:00:00 2001 >From: Vitor FERNANDES <vfernandes@keep.pt> >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 <kyle@bywatersolutions.com> >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > misc/migration_tools/bulkmarcimport.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9144
:
13675
|
13912
| 14027