[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
Sun Feb 19 08:03:56 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7552
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7712|0 |1
is obsolete| |
--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> 2012-02-19 07:03:56 UTC ---
Created attachment 7753
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7753
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
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Still a few \r
But only on comments, safe to push
--
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