home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!utcsri!geac!zooid!r-node!nautical!Laszlo.Herczeg
- From: Laszlo.Herczeg@nautical.r-node.gts.org (Laszlo Herczeg)
- Date: Sun, 22 Nov 92 16:36:12 EST
- Message-ID: <1992Nov22.163612.15510@r-node.gts.org>
- Organization: R-node Public Access UNIX Information System (416-249-5366)
- Subject: perl and Post Script
- Distribution: world
- Reply-To: Laszlo.Herczeg@nautical.r-node.gts.org (Laszlo Herczeg)
- X-Posting-Software: UniBoard 1.10a S/N 120921
- Lines: 27
-
- Helthere!
- I am a budding Perl user and I have the following question:
- Could someone suggest a script which converts Post Script files into
- simple ASCII format, stripping the formatting characters and the
- brackets?
-
- I have already removed the formattimg characters with:
-
- perl -lne "/(\(.+\))/$$ print $1 las.doc > good.doc
-
- What I need now is to remove the () round brackets and the end of line
- characters which Post Script uses. (Sorry, I have no idea what they
- might be).
- Also, there are special shorthands in Post Script, such as 256 for FI,
- as in "256les", which translates into "files". How do I render those
- back into normal characters?
-
- Many thanks for considering this request!
- Laszlo Herczeg
- --
- Laszlo Herczeg, user of the UniBoard System @ r-node.gts.org
- E-Mail: Laszlo.Herczeg@nautical.r-node.gts.org
-
-
- R-node Public Access Unix/BBS - Free Access to the World thru Usenet
- Data: 1-416-249-5366 (3 Lines)
- Shell Accounts Available - Contact marc@r-node.gts.org
-