[librecat-dev] Error use conditions
Tiago Murakami
trmurakami at gmail.com
Wed Apr 26 17:02:22 CEST 2023
Hi,
I have an error when I use conditions in my fixes file.
I try to run: catmandu convert MARC to MARC --fix fixes/fixes.txt <
data/koha.mrc > data/result.mrc
My fixes file only have this:
if marc_match('008/35-37','\\\')
marc_set('008/35-37','por')
end
The result is:
Oops! Syntax error in your fixes...
Error: Expected end of input on line 1 at:
if marc_match('008/35-37','\\\')
^
Source:
if marc_match('008/35-37','\\\')
marc_set('008/35-37','por')
end
Somebody can help me?
Thanks in advance,
--
Tiago Murakami
Biblioteca de Comunicações e Artes
Universidade de São Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20230426/a8bf34f9/attachment.html>
More information about the librecat-dev
mailing list