home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / tpu / 511 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.7 KB

  1. Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!mccall!info-tpu-newsgate!list
  2. Newsgroups: vmsnet.tpu
  3. Subject: How to EDIT files via a COMMAND FIle
  4. Message-ID: <01GRDAR6Q8RM001XBD@utrcgw.utc.com>
  5. From: "frank (Chip) Dyer x9568 ..Electrical Design"
  6. Date: 20 Nov 1992 09:13:20 -0400 (EDT)
  7. Reply-To: "Frank (Chip) Dyer x9568 ..Electrical Design"
  8. Organization: The Internet
  9. Return-Path: <TPU-Mgr@SHSU.edu>
  10. Errors-To: TPU-Mgr@SHSU.edu
  11. X-Listname: Text Processing Utility (TPU) Language Discussion List
  12. X-Envelope-To: info-tpu@shsu.EDU
  13. X-Vms-To: INFO-TPU
  14. X-Vms-Cc: DYERFDF
  15. Mime-Version: 1.0
  16. Content-Transfer-Encoding: 7BIT
  17. Lines: 27
  18.  
  19.  EVE/TPU experts:
  20.  
  21.  I have about 50 files with the number "100C000" (hexadecimal) in them.  I
  22.  need to edit all these files and replace "100C000" with "1010000."  Is it
  23.  possible to do this through a non-interactive (automatic) process?
  24.  
  25.  Ideally I want to have a COMMAND procedure do a GLOBLAL REPLACE on
  26.  "100C000" - something like
  27.  
  28.     $ EDIT/TPU/NOINIT/NODISplay/COMmand=SYS$INPUT in.src/OUTput=OUT.SRC
  29.     EVE_REPLACE("100A","*!!*!!**")
  30.     $ EXIT
  31.  
  32.  Is this possible?  I have never written or used any TPU procedures, so
  33.  any help you can provide will greatly be appreciated.  I use EVE quite a
  34.  bit, but as far as writing or using TPU procedures, I have never done
  35.  that.
  36.  
  37.  
  38.  Thanx,  Frank
  39.  
  40.   *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  41.   * Frank Dyer                        INTERNET:  DYERFDF@HSDWL.UTC.COM  *
  42.   * Hamilton Standard (UTC Division)  (203) 683-9568  FAX: 683-9500     *
  43.   * Senior Design Engineer                                              *
  44.   * Windsor Locks, CT  USA             Nuthin' Witty to write here Yet! *
  45.   *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  46.