fix #22 Split ohne extra Zeichenkette

This commit is contained in:
Felix Lohmeier 2021-02-03 15:11:17 +01:00
parent 159ccc1a17
commit 6fe88c393e
3 changed files with 1 additions and 3 deletions

View File

@ -82,7 +82,7 @@ tasks:
cmds:
- test -n "{{.PROJECT}}"
# in Einzeldateien aufteilen
- csplit -q ../refine/{{.PROJECT}}.txt --suppress-matched '/<!-- SPLIT -->/' "{*}"
- csplit -s -z ../refine/{{.PROJECT}}.txt '/<mets:mets /' "{*}"
# ggf. vorhandene XML-Dateien löschen
- rm -f *.xml
# Identifier als Dateinamen

View File

@ -74,7 +74,6 @@ tasks:
# Export in METS:MODS mit Templating
- |
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
<!-- SPLIT -->
" --suffix "
" --output {{.PROJECT}}.txt {{.PROJECT}}
- task: :openrefine-stop

View File

@ -76,7 +76,6 @@ tasks:
# Export in METS:MODS mit Templating
- |
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
<!-- SPLIT -->
" --suffix "
" --output {{.PROJECT}}.txt {{.PROJECT}}
- task: :openrefine-stop