Bram Moolenaar wrote: >A couple of problems were detected when the Unix shell is used to expand >file names containing characters such as a single quote. This applies >to completion on the command line and glob(). > >I made a patch that defines a function to echo each file name >separately. Inspired by a patch that Dasn made, but staying on the safe >side. > >The patch for ex_docmd.c changes detecting the end of the file name when >doing command line completion. This specifically fixes a file name >containing "&". > >Please try it out and let me know if there are any new problems. > > Verhoef sent me a directory structure:
a & b/ one two a's & b's/ three four Netrw works for the first "a & b", and does so with the new patch. However, it does not work for the second set ("a's & b's"); the glob() for it returns the empty string: ...netrw debugging info.. ||||glob(dirname</home/cec/.vim/VIMSCRIPT/TST/NETRW/Verhoef/a's & b's/*>)= ...more netrw debugging info I used ksh under Fedora Core Linux and a vim compiled with the patch. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---