Zvi Har'El wrote:
> Hi,
> 
> I feel vim has a bug in the case the name the file contain parentheses.
> The "%" string contains in this case  backslashes.  For example:
> 
[snip]
> 
> $ vi +'!/bin/ls "%"' +x -e -s 'JVs America (article).html'
> 
> /bin/ls: JVs America \(article\).html: No such file or directory

Using % instead of "%" should solve the problem.
$ vi +'!/bin/ls "%"' +x -e -s 'a(b)c'
/bin/ls: a\(b\)c: No such file or directory
$ vi +'!/bin/ls %' +x -e -s 'a(b)c'
a(b)c


> 
> 
> Cheers,
> 
> Zvi.
> 
> -- 
> Dr. Zvi Har'El      mailto:[EMAIL PROTECTED]    Department of Mathematics
> tel:+972-54-4227607                  Technion - Israel Institute of Technology
> fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
> "If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
> 
> 
> > 


-- 
http://ilya-sher.org/

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

Raspunde prin e-mail lui