Bill Gray followed up,
| Thanks, David, for taking the time!!
No problem.
| N will be between 100 and 250 (the size of the page I can send). Yes, it can
| include newlines. Format:
| Name: xxxxx
| Phone: xxxxx
| Message: xxxxxxxxxxxxxxxxxxxxxx
| xxxxxxxxxxxxxxxx...
| > For example, what if there is a newline within the first N characters?
| No doubt there will be.
| > Should the extraction stop, should the newline be counted, or should it
| > not be counted?
| Continue the extraction to N. Count the newline.
| -> Should spaces immediately after the colon in "Name:" be
| > counted toward the N characters?
| Yes.
Yes? OK, if you say so.
| > You might even be able to do it within procmail or with head(1), but
| > you'll need to tell us a lot more.
| I hope so and I hope I have!
Guess the easiest way is this:
:0Bi
* ^Name:\/(.*$)+
pagertext=| echo "$MATCH" | head -c $N