[Koha-bugs] [Bug 7552] Remove wrong line endings in NORMARC record.abs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 17 15:28:21 CET 2012


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

Magnus Enger <magnus at enger.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7711|0                           |1
        is obsolete|                            |

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> 2012-02-17 14:28:21 UTC ---
Created attachment 7712
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7712
Bug 7552 - Remove wrong line endings in NORMARC record.abs

Line endings contain erroneous \r 's.

Also remove a useless comment at the top of the file.

This patch was produced by doing the following operations:

git config --global core.autocrlf true
git rm --cached -r etc/zebradb/marc_defs/normarc/biblios/record.abs
git diff --cached --name-only -z | xargs -0 git add

as recommended here:
http://help.github.com/line-endings/

First version of this file resulted in whitespaceerrors. Trying to fix that
now.

To test:

- Open etc/zebradb/marc_defs/normarc/biblios/record.abs in a file editor
  that will let you search for \r - gedit seems to work nicely for this.
  Check that there are occurences of \r in the file
- Apply the patch
- Open etc/zebradb/marc_defs/normarc/biblios/record.abs in the editor and
  check that it can not find any \r

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list