[Koha-bugs] [Bug 8746] rebuild_zebra_sliced.sh don't work where Record length of 106041 is larger than the MARC spec allows

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 15:23:27 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8746

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Master            |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Julian Maurice <julian.maurice at biblibre.com> ---
> Out of curiosity, why is this script written in bash when all of the actual
> work is done by embedded Perl code?
My first intent was to use only existing script/programs to achieve this work,
so I choose sh.
Then I progressively realized that a little bit of Perl code was needed (for
example, for retrieving the indexing mode).
And now that I read the code again, I have to admit you're right. Script would
have been much simpler if written in Perl from the beginning.

But as such it works, so I think rewriting this script in Perl is not worth it.
(But anyone who wants to do it is gracefully encouraged! ;-))

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list