[Koha-bugs] [Bug 10625] Inventory/Stocktaking tool cannot handle windows file uploads

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 13:06:27 CEST 2015


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

--- Comment #14 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 37848
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37848
[Signed-off] Bug 10625: Inventory/Stocktaking tool cannot handle windows file
uploads

Review of attachment 37848:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10625&attachment=37848)
-----------------------------------------------------------------

::: tools/inventory.pl
@@ +173,5 @@
> +    while (my $barcode=<$uploadbarcodes>) {
> +        $barcode =~ s/\r/\n/g;
> +        $barcode =~ s/\n\n/\n/g;
> +        $barcode =~ s/\n$//;
> +        $barcode =~ s/^\n//;

why not $barcode =~ s/\n//g; to replace the last 3 lines?

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


More information about the Koha-bugs mailing list