On 13/11/07 16:59 +0100, Vladimir Marek wrote:
>
>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
>
:echo system("sh -c '" . 'printf "aaa\000bbb"' . "'")
or even:
:let tmpfile=tempname()
:call system("sh -c '" . 'printf "aaa\000bbb" >' . tmpfile . "'")
:exec "sp" tmpfile
--
Dasn
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---