Inews and long headers

Julien ÉLIE julien at trigofacile.com
Sat Jul 8 15:21:45 UTC 2017


> +    # 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!

-- 
Julien ÉLIE

« Je n'aime pas faire du char-stop ! » (Astérix)


More information about the inn-workers mailing list