borrado de ficheros
[anna.git] / example / diameter / launcher / createBatch.sh
diff --git a/example/diameter/launcher/createBatch.sh b/example/diameter/launcher/createBatch.sh
deleted file mode 100755 (executable)
index 5599d52..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/ksh
-
-salir () {
-   echo
-   echo $1
-   echo
-   exit
-}
-
-uso () {
-   echo "Use: $0 <directory with .hex/.xml files> [operation]"
-   echo
-   echo "     operation: code|[decode]"
-   echo
-   echo "     Example: $0 Pending/NOKIA"
-   echo
-   salir
-}
-
-#############
-# EJECUCION #
-#############
-[[ "$1" = "" ]] && uso
-DIR=$1
-OP=$2
-[[ "$OP" = "" ]] && OP=decode
-[[ "$OP" != "decode" ]] && OP=code
-[[ ! -d $DIR ]] && salir "Directory $DIR not found"
-
-> batch.txt
-
-[[ "$OP" = "decode" ]] && { EXT1=hex ; EXT2=xml ; }
-[[ "$OP" = "code" ]] && { EXT1=xml ; EXT2=hex ; }
-
-for i in `find $DIR/ -name "*.${EXT1}"`
-do
-   echo ".\c"
-   echo "$OP|$OP|$i|${i}.${EXT2}" >> batch.txt
-done
-
-echo
-echo "Created batch.txt"
-echo
-