Cheers, Xiaobo
On Thu, Jan 8, 2009 at 10:04 AM, Ray Van Dolson <rayvd@xxxxxxxxxxxx> wrote:
You should be able to do this in visual mode in VIM. Paste your outputOn Thu, Jan 08, 2009 at 09:57:51AM +0800, Xiaobo Zhu wrote:
> Hi,
> When I connect to a Cisco router and issue the show ip interface command, the
> output is similar as follows:
>
> Interface IP-Address OK? Method Status
> Protocol
> Ethernet0/0 192.168.12.1 YES NVRAM up
> up
> Serial0/0 unassigned YES NVRAM administratively down
> down
> Ethernet0/1 unassigned YES NVRAM administratively down
> down
> Loopback0 1.1.1.1 YES NVRAM up
> up
>
> Will anyone please tell me how to select text in block instead of line, so
> that I can get the IP address on all interface, in gnome-terminal as well as in
> vim.
> Many thanks!
>
> Xiaobo
above into vim and then hit CTRL-C CTRL-V and select away.
Ray
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos