Re: vi
On Apr 14, Rick Macdonald wrote
>Ralph Winslow wrote:
>
>I beg to differ the emacs case:
>
>M-< ; go to beginning of file
>M-% ; query-replace
>129.168.1 RET ; search for 192.168.1
>129.168.200 RET ; replace with 129.168.200
>! ; repeat for all occurrences
>
>This is fewer keystrokes than vi.
Not exactly:
:% s/129.168.1\./129.168.200/g
later,
- rick
--
Richard Kilgore | rkilgore@lore.ece.utexas.edu
Electrical & Computer Engineering | http://lore.ece.utexas.edu/~rkilgore/
The University of Texas at Austin | (512) 471-8011
Reply to:
- References:
- Re: vi
- From: Craig Sanders <cas@taz.net.au>
- Re: vi
- From: Kai Grossjohann <grossjohann@ls6.cs.uni-dortmund.de>
- Re: vi
- From: Ralph Winslow <rjw@nac.net>
- Re: vi
- From: Rick Macdonald <rickm@vsl.com>