Reply to message «Re: [BUG] Trying to override redirection to a script variable from another script results in error», sent 17:53:14 27 March 2011, Sunday by Bram Moolenaar:
> I don't get an error when using an actual file. My shell doesn't accept
> this syntax.
echo "redir => s:foo" > /tmp/redir
vim -u NONE -S /tmp/redir -c 'redir => g:bar'
works for me as well. Vim-7.3.145.
Original message:
> ZyX wrote:
> > Consider the following script:
> > vim -u NONE -S <(echo "redir => s:foo") -c 'redir => g:bar'
> >
> > It will show E121 error, while expected to show nothing.
>
> I don't get an error when using an actual file. My shell doesn't accept
> this syntax.
signature.asc
Description: This is a digitally signed message part.
