On Tue, Sep 21, 1999 at 08:26:25PM -0700, Sean-Paul Rees wrote:
Sean> per Brian's recommendation, i decided to dig up my vi cheatsheet and
Sean> give more attention to get hooked up with this vi-addiction. how do i do
Sean> a find for a string in vi?
The easiest way is with a slash. Why in command mode hit "/"
You probably won't see anything until you start typing.
another way is with
:%s/searchstring/
This will find the first occurance. The % means search the
entire document.
You might want to try emacs too.
Here's a couple books I recommend.
Unix Companion by Harley Hahn
Learning vi by Linda Lamb (O'Reilly)
brian
-- Brian Lavender http://www.brie.com/brian/
This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:07 PST