[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] Can I use --regexness add charset ??


From Gilles LAMIRAL <gilles dot lamiral at laposte dot net>
Subject Re: [imapsync] Can I use --regexness add charset ??
Date Tue, 27 Mar 2012 12:31:16 +0200

Hi Wong,

> Many thanks it work. But this will add all message with this Big5, and
> I want to know the regexmess can search all header ??? Can use to find
> "Received: from xxxx.com" ?? I found this cannot found some header
> information on last few line????

Can you give us an example of what you want to do?
 
> imapsync ... --regexmess 's{\A(.*?(?!
> ^$))^(Message-ID:.*?)$}{$1$2\nContent-Type: text/plain;
> charset="big5"}gxms'
 

-- 
Au revoir,                             09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06