Inews and long headers
Kamil Jońca
kjonca at o2.pl
Mon Jul 10 16:19:35 UTC 2017
Julien ÉLIE <julien at trigofacile.com> writes:
>> + # Remove empty header lines within header body.
>> + s/\n[ \t]+\n/\n/g; # middle
>> + s/\n[ \t]+$//; # last line
>> + s/^([^:]+):[ \t]+\n/$1/; # first line
>
> s/^([^:]+:[ \t]+)\n/$1/;
> with wider scope for $1 will be far better!
Your patches are ok for my purposes :) I have had some dobuts about "middle"
pattern, but I thinks is ok.
KJ
--
http://wolnelektury.pl/wesprzyj/teraz/
"MacDonald has the gift on compressing the largest amount of words into
the smallest amount of thoughts."
-- Winston Churchill
More information about the inn-workers
mailing list