BEGIN { print "set -e; set -v\n"; } /^# backout/ { $2 = "revert" } { gsub(/mozilla\//, "") } /^echo/ { print "rm " $5 "; cvs rm " $5 next } /^cvs up/ { temp = $3 $3 = $4 $4 = temp } { print }