Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> UNIX question: Can vi do this?

UNIX question: Can vi do this?

From: yong huang <yong321_at_yahoo.com>
Date: Wed, 8 Nov 2000 11:42:35 -0800 (PST)
Message-Id: <10674.121476@fatcity.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US