I'm not 100% sure what you're trying to accomplish, but if you want to actually invoke cat to dump the contents of a file "bar" into a Vim variable "foo", you can do:
let foo = system('cat bar')
where the string passed to system() can be any arbitrary shell command.
--
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
