3 TRACE="--trace-ascii curl_log.txt"
4 SERVER=`cat .httpServer`
8 echo "Use: $0 <hex_file>"
10 echo "Creates '<hex_file>.xml' with decoded result."
16 [[ "$1" = "" ]] && use
17 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
19 operation="decode|$1|${1}.xml"
20 curl -m 1 --data "$operation" $TRACE ${SERVER}