redir global command bug?

:v/^127/

Will show all lines that do not start with 127

When I do:

redir! >not127.txt | silent v/^127/ | redir end

Only the first line is save to the file. Is this a bug?

But with a suggestion from Christian, this works:

redir! >not127.txt | execute "silent v/^127/" | redir end

If not a bug, where is it documented?

-Bill

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui