# This script generates ed test scripts (.ed) from .t files
PATH
="/bin:/usr/bin:/usr/local/bin/:."
[ X
"$ED" = X
-o ! -x $ED ] && ED
="../ed"
[ ! -x $ED ] && { echo "$ED: cannot execute"; exit 1; }
# base=`echo $i | sed 's/\..*//'`
base
=`expr $i : '\([^.]*\)'`
# The following is pretty ugly and not appropriate use of ed
# but the point is that it can be done...
# base=`$ED - \!"echo \\\\$i" <<-EOF
# base=`echo $i | sed 's/\..*//'`
base
=`expr $i : '\([^.]*\)'`
# base=`$ED - \!"echo \\\\$i" <<-EOF
# !chmod +x ${base}-err.ed