I've tried setting/unsetting EXINIT and TERM. Here's part of the script
#!/bin/sh
for file in /scripts/u*
do
# If a line begins with "Newsgroup: " then delete from that line thru first
# blank line
if ( grep -n "^Newsgroups: " $file >/dev/null) ; then
ex - $file <<END
/^Newsgroups: /,/^$/d
w
q
END
fi
done
Ideas?
Thanks
=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Stern Flight Dynamics
dave@davka.gsfc.nasa.gov Goddard Space Flight Ctr
Building 28 Room N258 301-286-7631