Monday, May 7, 2012

Re: Getting the value of runtimepath from the command line

On Sun, May 6, 2012 10:57, John Little wrote:
> How about
>
> vim -c "redir! > $RTP" -c 'echo &rtp' -c 'redir END' -c 'q'
>
> given $RTP set to an appropriate target. Starts the output with a blank
> line, I don't know why.

I think this is because the echo always prints on a new line, so prepends
a "\n" to all it's output.

regards,
Christian

--
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: