Sunday, August 22, 2010

Re: how to read long shell output

yosi izaq wrote:
> Aaron Lewis:
> "
> should work with standard unix command `less` and pipe , did you try
> with it ?
>
> ! cd %:h && nm `find .. -name *.so ` | less <cr>
> "
>
> Doesn't work. See:
> Error detected while processing /users/yizaq/.vimrc:
> line 534:
> E492: Not an editor command: less <cr>
>
> Christian Brabandt:
> "
> How about :r! nm `find %:h -name *.so ...` to redirect the output into a
> scratch buffer?
> "
>
> I did
> :r! cd %:h && nm `find .. -name *.so ` <cr>
>
> but output goes to current buffer, not scratch. I'm probably doing
> something wrong, could you please point out what?
>
Check out RunView
(http://mysite.verizon.net/astronaut/vim/index.html#RUNVIEW)

Regards,
Chip Campbell

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