Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!ames!ucbcad!ucbvax!LLL-ICDC.ARPA!oberman From: oberman@LLL-ICDC.ARPA ("Oberman, Kevin") Newsgroups: mod.computers.vax Subject: TPU Search Patterns Message-ID: <8611271022.AA08488@ucbvax.Berkeley.EDU> Date: Wed, 26-Nov-86 11:20:00 EST Article-I.D.: ucbvax.8611271022.AA08488 Posted: Wed Nov 26 11:20:00 1986 Date-Received: Thu, 27-Nov-86 08:00:22 EST Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "Oberman, Kevin" Organization: The ARPA Internet Lines: 29 Approved: info-vax@sri-kl.arpa >Does anyone understand VAXTPU pattern searches? >. >. >. >Is this a bug, or is the documentation bad, or am I just dense? > >I have seen references to pseudo-EMACS written in TPU. If anyone out there has >such a set of TPU procedures, I would very much like to see how the unix-style >"regular expressions" were implemented. I am also baffled by the operation of pattern searches. I have one of my own that looks just as strange: The search is for ("^O" | "^N" | "FF" | "ESC"). The string really contains the control characters. A SEARCH finds some of the characters, but not all--at least on a single pass. If I repeat the search, it will find more characters. If I run it several times it gets everything. I use the TPU procedure to replace control characters with ASCII strings for use in mailing. Maybe I just dumb, but I don't understand either! R. Kevin Oberman LLNL arpa: oberman@lll-icdc.arpa (415) 422-6955 P.S. I didn't receive the original submission of this problem either. MAIL sometimes falls in the old bit bucket and I assume that this one never made it to SRI-KL. ------