[...]
> >Vim treats backtick-ed string honestly, so you can match some kinda
> >weird looking patterns via shell directly. e.g:
> >
> >:echo glob('`for i in ~/{bin,tmp,\,}; do echo $i; done`')
>
> A note, this might be incorrect if the name got matched contains special
> chars like '\n'.
Would there be a way to read in string containing \000 character ?
That way you could use
...; do printf "$i\000"; done
However that does not seem to be possible:
:echo system("printf 'aaa\000bbb'")
E484: Can't open file /tmp/v984274/8
--
Vlad
pgp74M8k6KYKH.pgp
Description: PGP signature
