Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pur-ee.UUCP Path: utzoo!linus!philabs!seismo!harpo!ihnp4!inuxc!pur-ee!ecn-ee!ks From: ks@ecn-ee.UUCP Newsgroups: net.general Subject: Re: re: Running spell from VI - (nf) Message-ID: <1435@pur-ee.UUCP> Date: Fri, 20-Jan-84 21:23:38 EST Article-I.D.: pur-ee.1435 Posted: Fri Jan 20 21:23:38 1984 Date-Received: Sat, 21-Jan-84 09:14:36 EST Sender: notes@pur-ee.UUCP Organization: Electrical Engineering Department , Purdue University Lines: 23 #R:inuxa:-26100:ecn-ee:15800005:000:517 ecn-ee!ks Jan 20 21:13:00 1984 In reply to Rich Sachs... you are close but not quite right. You are missing a few escape characters in your definition of #1.. It should be changed from Gi/\"add@a to Gi/\<^[A\>^["add@a where the 2 ^['s represent escape characters. This actually: G goes to the last line. i/\<^[ puts a "/\<" in front of the word. A\>^[ puts a "\>" after the word. "add deletes this line into the a "register" @a executes the a register which contains the search command you just constructed Kirk Smith Purdue EE