Paul wrote:
if [ "$(sed -e '/^$/,$d' $CURRENT |
egrep -i '^content-type:[[:space:]]*multipart\/mixed' )" ]
This should be '...(mixed|alternative)'
yes. and i think the "mhshow -part 1" should be (for my
purposes) "mhshow -type text/plain", since that's usually what i
want, and it will pick up the text even if it's not part 1.
and the "sed -e '1,2d'" is because of the mshow profile entry i
have for text parts -- you might want to delete that sed
altogether, or maybe have it delete one line.
thanks for your suggestions -- i'm sure i'll be tweaking this
script for years to come. :-)
paul
=---------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 64.4 degrees)
_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers