Sunday, September 4, 2011

Invoking external command with arguments

Hi All,

I have a file containing file names like this:

a.txt
b.dat
e.cpp

I would like to invoke wc to count number of lines for these files, so i would like to use the current line or the select part(with visual mode) as my arugment.

So how could i do this in vim?

Thanks in advance.

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