On Sam, 04 Mär 2000, Bennett Todd wrote:
[posted two recipes, well, nearly ;-)]
through uniq? My routine and habitual cleanup looks something like
perl -ple 's/^\s+//;s/\s+$//;s/\s+/ /g'|uniq
also toss in something like 's/^(.)\1\1\1+$/\1\1\1/' to reduce fancy
I tried including these two for all messages, that is, without a
|perl -ple 's/^\s+//;s/\s+$//;s/\s+/ /g'|uniq
|perl -ple 's/^(.)\1\1\1+$/\1\1\1/'
Now, my log shows:
procmail: Executing "perl -ple 's/^\s+//;s/\s+$//;s/\s+/ /g'|uniq"
procmail: Executing "perl,-ple,s/^(.)\1\1\1+$/\1\1\1/"
My question is, why are there commas in the second entry ? Do I have
to wonder ? Should I change something ?
It seems to work well, btw.
"No worries." - Rincewind
Sebastian Helms - mailto:sebastian(_at_)helms(_dot_)sh (PGP available)