> What about
>
> :exe "!echo ".variable."> /tmp/file"
Of the replies, don't use this one. It's susceptible to odd
behaviors depending on the content of the variable (akin to
SQL-injection)
Go with Martin's :redir or John's writefile() instead.
-tim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment