procmail
[Top] [All Lists]

Re: SMS forward, limiting characters

2004-07-15 23:44:10
On Thu, Jul 15, 2004 at 05:27:34PM -0600, Google Kreme wrote (twice):

Klaus Johannes Rusch <KlausRusch(_at_)atmedia(_dot_)net> said:
formail -I"" | grep -v "^>" | perl -e "$/ = undef; $_ = <>; s/\s+/
/sg; print substr $_, 0, 200"

quick question, wouldn't you need either

grep -e -v "^>"

or

egrep -v "^>"

??

I don't off-hand know, because (aside from being awake on two
hours' sleep and only one cup of coffee and its being two hours
from my usual wake-up time) I am still too boggled by the idea
of anybody piping formail to grep to perl.

Klaus, pick your weapon, and use it!  Don't start to
dispatch your opponent with your machete, then switch to
the service pistol when it turns out he's still flailing,
then drop that and grab the bazooka!

:-)

-- 
dman

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>