procmail
[Top] [All Lists]

Re: sed-oneliner to unfold a single header

2004-04-08 03:00:57
Hey Luke,

sed is case-sensitive, so you might need to do
/^[Cc][Oo][Nn][Tt][Ee][Nn][Tt]-[Tt][Yy][Pp][Ee][[:blank:]]*:/

/^content-type/i
Or is that pcre only?

There are many sed-variants, that's why I used 'might'. 

The sed (of FreeBSD 4.7) that my ISP offers, has no ignore-case 
option. There are workarounds like y/ABC.../abc...

Some other seds support a -I at the command-line.

-- 
Grtz, Ruud

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>