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