procmail
[Top] [All Lists]

Re: winner: most neurotic use of procmail?

1997-08-21 14:30:28
On Thu, 21 Aug 1997, David W. Tamkin wrote:

| :0fb
| * B ?? alot
| |sed 's/alot/a lot/g'
| 
| # replace the misspelled word "alot" to the two words "a lot"

That needs word boundaries (which sed does not support).  What happens, for
example, if someone leaves one of the l's out trying to type "allot" or
"shallot" or "ballot"?

Shall I count the number of times someone has written (correctly or
incorrectly) any of those words to me?

Versus the half-dozen 'alot's I see weekly,  as well as the 'lose/loose'
and "its/it's" this is a nice easy solution ;-)

TjL