home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4987 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!news
  3. From: bwild@fzi.de
  4. Subject: Re: Manipulating Framemaker files with perl?
  5. Message-ID: <1992Jul28.071126.22694@fzi.de>
  6. Sender: news@fzi.de (FZI-news)
  7. Reply-To: bwild@fzi.de
  8. Organization: FZI Forschungszentrum Informatik, Karlsruhe, Germany
  9. References: <363@ittc.wec.com>
  10. Date: Tue, 28 Jul 1992 07:11:26 GMT
  11. Lines: 28
  12.  
  13. In article <363@ittc.wec.com> fitch@ittc.wec.com (Ken Fitch) writes:
  14. > Does anyone know how (and if it is possible) to use perl to 
  15. > perform global replacements on files which are in Framemaker
  16. > format?
  17. > We have a large number of software documentation files in
  18. > Frame, and for each project we have to go into each file
  19. > and change the project-specific information.  I'd like to
  20. > be able to say something like
  21. > perl -pi -e 's/PROJECT1/PROJECT2/g' list_of_files...
  22. > When I try this, Frame refuses to read the resulting file
  23. > (it has been corrupted somehow).  Any clues anyone?
  24. We use Perl frequently to construct MIF files for Framemaker from plain Lisp  
  25. source code and I found it very convenient to have a TeX-like textual  
  26. representation of my publication which can be manipulated by ordinary UNIX  
  27. tools. The only thing to look for is to store your texts in MIF format before  
  28. manipulating them. You will run into big trouble when changing something in the  
  29. binary format.
  30. --
  31. Bernd Wild
  32.  
  33. ===============================================
  34. Bernd Wild                                       
  35. Forschungszentrum Informatik FZI
  36. Dept. Technical Expert Systems and Robotics
  37.