Is there a way to split a line automatically like awk would?
Given A quick brown fox jumped over ,
awk '{print $3}' ... == brown
Well, Vim supports passing a range of lines through awk, so
assuming you have awk available, you can just do
:%!awk '{print $3}'
Fairly
On Wed, 10 May 2006, Ben K. wrote:
Hi,
Is there a way to split a line automatically like awk would?
Given A quick brown fox jumped over ,
awk '{print $3}' ... == brown
or like in perl
split(':',$line)...
I'd like to do within vim something like
:s/{some notation}/\3