Article View: vmsnet.tpu
Article #115How to EDIT files via a COMMAND FIle
From: frank Chip Dyer x9568 ..Electric...
Date: Fri, 20 Nov 1992 13:13
Date: Fri, 20 Nov 1992 13:13
27 lines
1822 bytes
1822 bytes
EVE/TPU experts:
I have about 50 files with the number "100C000" (hexadecimal) in them. I
need to edit all these files and replace "100C000" with "1010000." Is it
possible to do this through a non-interactive (automatic) process?
Ideally I want to have a COMMAND procedure do a GLOBLAL REPLACE on
"100C000" - something like
$ EDIT/TPU/NOINIT/NODISplay/COMmand=SYS$INPUT in.src/OUTput=OUT.SRC
EVE_REPLACE("100A","*!!*!!**")
$ EXIT
Is this possible? I have never written or used any TPU procedures, so
any help you can provide will greatly be appreciated. I use EVE quite a
bit, but as far as writing or using TPU procedures, I have never done
that.
Thanx, Frank
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* Frank Dyer INTERNET: DYERFDF@HSDWL.UTC.COM *
* Hamilton Standard (UTC Division) (203) 683-9568 FAX: 683-9500 *
* Senior Design Engineer *
* Windsor Locks, CT USA Nuthin' Witty to write here Yet! *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Technical Details
Message-ID:
<01GRDAR6Q8RM001XBD@utrcgw.utc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!mccall!info-tpu-newsgate!listShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!mccall!info-tpu-newsgate!list Newsgroups: vmsnet.tpu Subject: How to EDIT files via a COMMAND FIle Message-ID: <01GRDAR6Q8RM001XBD@utrcgw.utc.com> From: "frank (Chip) Dyer x9568 ..Electrical Design" Date: 20 Nov 1992 09:13:20 -0400 (EDT) Reply-To: "Frank (Chip) Dyer x9568 ..Electrical Design" Organization: The Internet Return-Path: <TPU-Mgr@SHSU.edu> Errors-To: TPU-Mgr@SHSU.edu X-Listname: Text Processing Utility (TPU) Language Discussion List X-Envelope-To: info-tpu@shsu.EDU X-Vms-To: INFO-TPU X-Vms-Cc: DYERFDF Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Lines: 27