On Sun, 02 Nov 2008, Tony Mechelynck wrote:

> 
> On 02/11/08 04:37, bill lam wrote:
> > On Sat, 01 Nov 2008, Tony Mechelynck wrote:
> >>    :%s/\[\(\x\x\x\x\)?]/\=eval('"\u' . submatch(1) . '"')/g
> >
> > Thanks. This works. Those files were edited using m$ ime that did not
> > support codepoint above U+10000.
> >
> > A related question. I have a number of such files that need fixes.
> > How do I grep and replace them all under linux.
> >
> 
>       :args file1 file2 *.tex foo???bar.baz
>       :argdo %s/...from.../...to.../ge
> 
> "from" pattern and "to" expression same as above
> any number of files (with wildcards if desired) in the :args command
> 

Thanks!  I found that it also needs autowrite and argdo!.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to