home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4973 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  896 b 

  1. Path: sparky!uunet!ittc!fitch
  2. From: fitch@ittc.wec.com (Ken Fitch)
  3. Newsgroups: comp.lang.perl
  4. Subject: Manipulating Framemaker files with perl?
  5. Message-ID: <363@ittc.wec.com>
  6. Date: 27 Jul 92 15:32:34 GMT
  7. Sender: news@ittc.wec.com
  8. Organization: Westinghouse Electric Corp., ITTC, Pgh. PA.
  9. Lines: 21
  10.  
  11. Does anyone know how (and if it is possible) to use perl to 
  12. perform global replacements on files which are in Framemaker
  13. format?
  14.  
  15. We have a large number of software documentation files in
  16. Frame, and for each project we have to go into each file
  17. and change the project-specific information.  I'd like to
  18. be able to say something like
  19.  
  20. perl -pi -e 's/PROJECT1/PROJECT2/g' list_of_files...
  21.  
  22. When I try this, Frame refuses to read the resulting file
  23. (it has been corrupted somehow).  Any clues anyone?
  24.  
  25. Ken Fitch
  26. fitch@ittc.wec.com
  27. --
  28. Kenneth R. Fitch
  29. fitch@ittc.wec.com
  30. uunet!ittc!fpb
  31. (412)733-6435
  32.