3 if [ $# -ne 1 -o ! -f "$1" ]; then
4 echo "Usage: $0 filename"
8 ./adapter.awk "$1" > "$1.adapter"
9 diff -u "$1" "$1.adapter"|less
10 echo -n "Are the changes OK? [yNso] "
15 if [ "$OK" == "y" -o "$OK" == "Y" ]; then
18 elif [ "$OK" != "o" -a "$OK" != "O" ];then
20 elif [ "$OK" != "s" -a "$OK" != "S" ];then