[librecat-dev] Catmandu::Fix removes paths from variables
Patrick Hochstenbach
Patrick.Hochstenbach at UGent.be
Wed Jun 20 11:31:29 CEST 2018
Hi Georg
There is most probably an error in your Fix script:
This:
marc_set('999a',W:\Users\gduffner\Docs\Documents\Alma\UBL\data\iso3166H2marc.csv)
is not a valid syntax. The double colon “:” has a special meaning in the Fix syntax. When you want to use it in a string value you need to use single/double quotes around your string:
marc_set('999a’,'W:\Users\gduffner\Docs\Documents\Alma\UBL\data\iso3166H2marc.csv’)
or, when this path is in a variable write something as:
marc_set(‘999a’,’{{MY_PATH}}’)
Cheers
Patrick
> On 20 Jun 2018, at 11:11, Mayr-Duffner, Georg <georg.mayr-duffner at wu.ac.at> wrote:
>
> W:\Users\gduffner\Docs\Documents\Alma\UBL\data\iso3166H2marc.csv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180620/f4995f02/attachment.asc>
More information about the librecat-dev
mailing list