Zvi Har'El wrote:
> I feel vim has a bug in the case the name the file contain parentheses. > The "%" string contains in this case backslashes. For example: > > > $ls -l 'JVs America (article).html' > -rw-r--r-- 1 rl gileadweb 31426 2007-11-10 19:16 JVs America (article).htm > > > $ vi +'!/bin/echo "%"' +x -e -s 'JVs America (article).html' > JVs America \(article\).html > > > $ vi +'!/bin/ls "%"' +x -e -s 'JVs America (article).html' > > /bin/ls: JVs America \(article\).html: No such file or directory This is indeed inconsistent. Vim should either escape the space as well, so that you can leave out the quotes, or not escape special characters, so that you can use quotes. I'm not sure which one is the best solution. -- I AM THANKFUL... ...for all the complaining I hear about the government because it means we have freedom of speech. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
