I meant
    vim | sed 's/foo/bar/' > out.txt

On Jul 21, 9:58 pm, Roald <[email protected]> wrote:
> How can I use a text I create in vim as input for a command? Like: >>
> sed 's/foo/bar/' < vim > out.txt <<?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to