According to :he shq
Quoting character(s), put around the command passed to the shell, for
the "!" and ":!" commands. The redirection is kept outside of the
quoting. See 'shellxquote' to include the redirection. It's
probably not useful to set both options.
What does this exactly means? I'm using gVim on Win7 with cygwin's
bash as
shell. I did the following trivial tests:
1)
:se shq=
:se sqx=\"
:!ls 2>&1
Result: C:\Users\...\bash.exe -c "ls 2&>1"
2)
:se shq=\"
:se sqx=
:!ls 2>&1
Result: C:\Users\...\bash.exe -c "ls 2&>1"
That is, no difference in behaviour. I guess I'm misinterpreting the
statement 'the redirection is kept outside of the quoting'.
--
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
Monday, December 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment