3 TRACE="--trace-ascii curl_log.txt"
4 SERVER=`cat .httpServer`
8 echo "Use: $0 <xml_file>"
10 echo "Load xml file and show on stdout again."
11 echo "It is useful to test xml loader and xml viewer, but also for show aliases and,"
12 echo "if '-ignoreFlags' commandline option is missing, for flag coherence checking."
18 [[ "$1" = "" ]] && use
19 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
21 operation="loadxml|$1"
22 curl -m 1 --data "$operation" $TRACE ${SERVER}