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

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

RE: UNIX question: Can vi do this?

From: Diana Duncan <Diana_at_fileFRENZY.com>
Date: Wed, 8 Nov 2000 15:13:30 -0500
Message-Id: <10674.121481@fatcity.com>


I just tried the following, and it worked:

/Subject*[^some topic]

(I used different parameters, but that should work for you...)

HTH,
Diana

-----Original Message-----
From: yong huang [mailto:yong321_at_yahoo.com] Sent: Wednesday, November 08, 2000 2:49 PM To: Multiple recipients of list ORACLE-L Subject: 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
Received on Wed Nov 08 2000 - 14:13:30 CST

Original text of this message

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