José Matos wrote:

> On Tuesday 19 December 2006 6:53 pm, Charles de Miramon wrote:
>> You can also use a sed script like this one :
> 
>   Just to add to the fun, here it is my solution using python, it reads
>   from
> the standard input and it writes to the standard output.
> 

Why don't you use the re.sub function ?

Charles trying to learn a bit of Python
-- 
http://www.kde-france.org

Reply via email to