Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!uw-beaver!mit-eddie!ll-xn!ames!amdcad!cae780!leadsv!scampi!bjs From: bjs@scampi.UUCP (Brian J. Smithson) Newsgroups: comp.os.vms Subject: Re: Is there a 'sed'-like editor for VMS? Message-ID: <202@scampi.UUCP> Date: Fri, 26-Jun-87 20:24:23 EDT Article-I.D.: scampi.202 Posted: Fri Jun 26 20:24:23 1987 Date-Received: Sun, 28-Jun-87 01:13:05 EDT References: <8706251310.AA19744@ucbvax.Berkeley.EDU> Distribution: world Organization: Systems Control, Palo Alto, CA Lines: 21 Summary: remember teco? In article <8706251310.AA19744@ucbvax.Berkeley.EDU>, gregg@a.cs.okstate.EDU writes: > dan@leadsv.UUCP (Dan Gold): > > > > Does anyone out there have or know of a program like UNIX 'sed' for VMS? > > We need the 'sed' capability of specifying a series of operations to be > > performed on a series of files. [...] > > Probably the thing to do here is to use your favorite editor, like TPU since > it has the most powerful pattern recognition stuff, and write a command file > that recognizes SED commands. [...] I used to use TECO as a sed-like editor (using the "MUNG" command to invoke TECO). It's cryptic (even more so than sed!) and using it for regular expressions is a bit barbaric, but it works! You also might consider shipping those files to a *real* computer :-) and processing them with sed... -Brian Smithson Scicon, Systems Control Palo Alto, CA