Toen wij Linux kietelden, kwam er dit uit:
I want to feed procmail the first 200 lines of the body in order
to look for a .mp3 Content-type flag.
Untested:
# C for chunk
C = "(^.*)?" # 1
C = $C$C$C$C$C # 5
C = $C$C$C$C$C # 25
C = $C$C$C$C$C$C$C$C # 200 (1200 bytes)
:0
* > 2000000
*$ B ?? ()\/$C
{
C = $MATCH
:0
* C ?? ^Content-type:(.|$[ ])*name.*=.*\.mp3[^.]*$
action
}
--
Grtz, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail