Commit 6a85c701 authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Create json from arc by ew2openapi. N.B. Clean spurious characters...

Create json from arc by ew2openapi. N.B. Clean spurious characters substituting with spaces. Issue #2
parent ee2e5dc2
Pipeline #2925 passed with stage
in 7 minutes and 32 seconds
......@@ -26,7 +26,9 @@ if [ -d ${DIR_DATA} ]; then
FILE_INPUT=${1}
cd ${DIR_DATA}/input
cat ${FILE_INPUT} | hyp2000
cat ${DIR_OUTPUT}/hypo.prt
# Create json from arc by ew2openapi
# N.B. Clean spurious characters substituting with spaces
cat ${DIR_OUTPUT}/hypo.arc | tr '\0x00' ' ' | ew2openapi TYPE_HYP2000ARC - ${DIR_OUTPUT}/hypo.json
else
echo " The \"${DIR_INPUT}/${1}\" doesn't exist."
echo ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment