Switch to unified view

a/upcmd.sh b/upcmd.sh
...
...
67
      name=$1
67
      name=$1
68
      shift
68
      shift
69
      test $# -gt 0 ||usage
69
      test $# -gt 0 ||usage
70
      value=$1
70
      value=$1
71
      shift
71
      shift
72
      # We use a separator (<) unlikely to be found in
73
      # the value (as it is xml)
72
      sedcmd=$sedcmd" -e s/@$name@/$value/"
74
      sedcmd=$sedcmd" -e s<@$name@<$value<"
73
done
75
done
74
76
75
sa=`basename $xml .xml`
77
sa=`basename $xml .xml`
76
service=`echo $sa | awk -F- '{print $1}'`
78
service=`echo $sa | awk -F- '{print $1}'`
77
action=`echo $sa | awk -F- '{print $2}'`
79
action=`echo $sa | awk -F- '{print $2}'`