Re: Stripping extra stuff from text
"@lbutlr" <[email protected]> Thu, 30 Apr 2015 14:24:08 -0600
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
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.