print or die $!;
' ../basetag
+next-mangle () {
+ mv ../tagupl/overall.log ../tagupl/overall.log-$ident
+ ident=$1
+}
+
with-mangled () {
local perl=$1
perl <../basetag >../badtag-$ident -pe "$perl"
}
expect-quit () {
- mv ../tagupl/overall.log ../tagupl/overall.log-$ident
- ident=$1
+ next-mangle "$1"
local perl=$2
local mstring=$3
with-mangled "$perl"