From bdc7f40a5f991e0e9182b96eaf1830de3cb1c2fd Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Tue, 15 Jan 2019 19:32:39 +0000 Subject: [PATCH] Avoid --output-delimiter as argument to cut. --- document-generator/document-template/build_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document-generator/document-template/build_lib.sh b/document-generator/document-template/build_lib.sh index 6de6fcf..11f82af 100755 --- a/document-generator/document-template/build_lib.sh +++ b/document-generator/document-template/build_lib.sh @@ -92,7 +92,7 @@ TEMPLATE="" ONTOLOGY="core" CONFIG="isadof.cfg" while IFS= read -r line;do - fields=($(printf "%s" "$line"|cut -d':' --output-delimiter=' ' -f1-)) + fields=($(printf "%s" "$line"|cut -d':' -f1- | tr ':' ' ')) if [[ "${fields[0]}" = "Template" ]]; then TEMPLATE="${fields[1]}" fi