fix #22 Split ohne extra Zeichenkette
This commit is contained in:
parent
159ccc1a17
commit
6fe88c393e
|
@ -82,7 +82,7 @@ tasks:
|
||||||
cmds:
|
cmds:
|
||||||
- test -n "{{.PROJECT}}"
|
- test -n "{{.PROJECT}}"
|
||||||
# in Einzeldateien aufteilen
|
# 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
|
# ggf. vorhandene XML-Dateien löschen
|
||||||
- rm -f *.xml
|
- rm -f *.xml
|
||||||
# Identifier als Dateinamen
|
# Identifier als Dateinamen
|
||||||
|
|
|
@ -74,7 +74,6 @@ tasks:
|
||||||
# Export in METS:MODS mit Templating
|
# Export in METS:MODS mit Templating
|
||||||
- |
|
- |
|
||||||
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
|
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
|
||||||
<!-- SPLIT -->
|
|
||||||
" --suffix "
|
" --suffix "
|
||||||
" --output {{.PROJECT}}.txt {{.PROJECT}}
|
" --output {{.PROJECT}}.txt {{.PROJECT}}
|
||||||
- task: :openrefine-stop
|
- task: :openrefine-stop
|
||||||
|
|
|
@ -76,7 +76,6 @@ tasks:
|
||||||
# Export in METS:MODS mit Templating
|
# Export in METS:MODS mit Templating
|
||||||
- |
|
- |
|
||||||
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
|
$OPENREFINE_CLIENT -P {{.PORT}} --export --template "$(< ../../../rules/{{.PROJECT}}/template.txt)" --rowSeparator "
|
||||||
<!-- SPLIT -->
|
|
||||||
" --suffix "
|
" --suffix "
|
||||||
" --output {{.PROJECT}}.txt {{.PROJECT}}
|
" --output {{.PROJECT}}.txt {{.PROJECT}}
|
||||||
- task: :openrefine-stop
|
- task: :openrefine-stop
|
||||||
|
|
Loading…
Reference in New Issue