perl -e ' open my $vim,"|vim -"; print $vim 0..9 ; '
Cheers Rolf
UPDATE: I missed that you wanna catch vim's output, sorry I have no idea how to make vim write to STDOUT.
In reply to Re: Piping data to vim
by LanX
in thread Piping data to vim
by yoda54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |