Skip to content

Commit

Permalink
Merge 6f1ac81 into 103eb88
Browse files Browse the repository at this point in the history
  • Loading branch information
cKlee committed Dec 5, 2018
2 parents 103eb88 + 6f1ac81 commit 56c1a72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Catmandu/Fix/marc_spec.pm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ In a fix file e.g. 'my.fix':
# Assign values of all subfields of all fields having indicator 1 = 1
# and indicator 2 = 0 to the my.fields.indicators10 array.
marc_spec('..._10', my.fields.indicators10.$append)
marc_spec('...{^1=\1}{^2=\0}', my.fields.indicators10.$append)
# Assign first four characters of leader to my.firstcharpos.ldr
marc_spec('LDR/0-3', my.firstcharpos.ldr)
Expand Down Expand Up @@ -163,7 +163,7 @@ In a fix file e.g. 'my.fix':
# Assign value of subfield a of field 245 only, if subfield a of field 246
# with value 1 for indicator1 exists
marc_spec('245$a{246_1$a}', my.var.title)
marc_spec('245$a{246^1=\1}', my.var.title)
And then on command line:
Expand Down

0 comments on commit 56c1a72

Please sign in to comment.