Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / deployments / advanced / decode.sh
1 #!/bin/bash
2 use () {
3
4    echo "Use: $0 <hex_file>"
5    echo
6    echo "Creates '<hex_file>.xml' with decoded result."
7    echo
8    exit
9 }
10
11 echo
12 [[ "$1" = "" ]] && use
13 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
14 echo
15 ./operation.sh "decode|$1|${1}.xml"
16