> > :set shell=/bin/tcsh
> > :echo glob("a 'b/*")
> > -> a 'b/file
> > :set shell=/bin/bash
> > :echo glob("a 'b/*")
> > -> a
[...]
> Uh. That's horrible. It's a pain that whenever you do any kind of
> VimScripting you always have to cover all your bases. It's getting to
> become unmanageable.
Personally I would like to see something like glob_internal() which
would do globbing entirely in c without accessing your shell. But I'm
not going to write the patch, so I just silently hope :) Or having
readdir to be able to get contents of a directory without glob.
On the other hand, I have to admit that glob will fail only under corner
cases (weird characters), and the workaround is to install t?csh.
--
Vlad
pgpN5vvLbsK9s.pgp
Description: PGP signature
