This set of commands is put in a file
!for i in ex_57.09 one two\
do\
if [ "$i" \!= "one" ]\
then echo "$i"\
fi\
done >> ex_out_57_1
and /usr/xpg4/bin/ex is run with this file as stdin
this bombs like so
/usr/xpg4/bin/sh: syntax error at line 1 : `for' unmatched
xxxxx@xxxxx.com 2005-1-20 21:37:48 GMT