procmail
[Top] [All Lists]

Re: adding a character $N times to a given string

2004-03-20 06:02:08
On Sat, 20 Mar 2004, 12:56 GMT+01 Ruud H.G. van Tol wrote:

See http://www.xs4all.nl/~rvtol/procmail/snr/
specifically the rep.*

  rep_Inp01 = 27
  rep_Input = $CHAR
  INCLUDERC = rep.inc
  STRING = "${STRING}${rep_Return}"  rep_Return # unset

oh yes, this exactly the trick I had in my head :-) - recalling the
.inc itself while decrementing the scoring result each time by one.

thanks,
rob.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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