Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> UNIX question: Can vi do this?
In vi, can my cursor jump to a line that contains a string but not another
string with one command? E.g., I can type "/Subject" (no quotes) to jump to the
next occurrence of "Subject". Now I want to jump to the line (anywhere on that
line is OK) that contains "Subject" but does not contain "some topic" in a text
file I'm reading. How can I do that? It seems the "/" command in vi doesn't
understand regular expressions. Thanks for help.
-- Yong Huang (yong321_at_yahoo.com) __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/Received on Wed Nov 08 2000 - 13:42:35 CST
![]() |
![]() |