->Title Page
->Intro
->Unix
->Vi editor
-->Basics
-->Vi reference
-->Miscellaneous tips
--->Line deletions
--->Switching cases
--->Spell checking
->Advanced S and R
--->Blank lines
--->Buffers
->Mirror sites
->Further reading

[ Up ]
[Prev][Home][Next]
[Author]

Vi ---> Advanced search and replace

To change

Gravity isn't just a "good idea."  It's the "law."
to
Gravity isn't just a ``good idea.''  It's the ``law.''
type


    :g/$/s/"\([^"]*\)"/``\1''/g
The following will find words that begin and end with a vowel:


    /\<[aeiouAEIOU][a-zA-Z']*[aeiouAEIOU]\>

Site Statistics

t a y l o r@l i n u x b o x.c o m

© 1993-1998 Christopher C. Taylor