(I rarely adapterized my specs because it was painful!
Until now... A new script has arrived!)
I hope it will be useful.
Changed files:
adapter.sh -> 1.1
--- /dev/null
+#!/bin/zsh
+
+if [[ $# -ne 1 || ! -f $1 ]]; then
+ echo "Usage: $0 filename"
+ exit 1
+fi
+
+./adapter.awk "$1" > "$1.adapter"
+diff "$1" "$1.adapter"|less
+echo -n "Are the changes OK? [yN] "
+read -q OK
+if [[ $OK == "y" ]]; then
+ mv "$1.adapter" "$1"
+ cvs ci "$1"
+else
+ rm "$1.adapter"
+fi