On Wed Apr 29 2015 10:30:39 @lbutlr said:
MSGTEXT=`/usr/local/bin/formail -I ""`
SMSTEXT=`echo $MSGTEXT | lynx --dump --dont_wrap_pre -stdin | tr '\n' ' ' |
/usr/bin/cut -c1-140`
I ended up with this, but I don’t especially like it:
SMSTEXT=`echo $MSGTEXT | lynx --dump --dont_wrap_pre -stdin |sed -e 's/^ //'
|sed -e 's/[-=_]//g'| tr '\n' ' ' | cut -c1-140`
--
Belief is one of the most powerful organic forces in the multiverse. It
may not be able to move mountains, exactly. But it can create someone
who can.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail