home *** CD-ROM | disk | FTP | other *** search
- ----------------------------------------------------------------------------
-
- Psfix: Massage PostScript output from programs such as EasyFlow and
- Word Perfect to help make journeys through mainframe computers
- in an unmangled state.
-
- Psfix performs the following actions:
-
- * Records are broken to 80 bytes or less, at an appropriate place
- to preserve valid PostScript commands. Psfix will fail if it
- encounters more than 80 consecutive non-blank characters in a
- record.
-
- * All comments are stripped.
-
- * Lone carriage returns are replaced by a space.
-
- * Tabs are replaced by a space.
-
- Psfix will operate on a list of files as well as on a single specified file.
-
- Please direct comments, suggestions, or problems to
-
- Marc A. Murison
- Smithsonian Astrophysical Observatory
- 60 Garden Street, MS 63
- Cambridge, MA 02138
-
- (617) 495-7079
- murison@cfacx2.harvard.edu or pepmmu@cfaamp.harvard.edu
-
- ----------------------------------------------------------------------------
- SHORT HELP
-
- Command line use -- any of the following will work:
-
- psfix infile[.ps] [outfile[.out]]
- psfix infile[.ps] [.out]
- psfix dirfile [.out]
- psfix dirfile [.ps .out]
-
- For help, type
-
- psfix ?
-
- To write the help text to a file named "help", type
-
- psfix ??
-
-
- ----------------------------------------------------------------------------
- LONG HELP
-
-
- Single File Use:
-
- For a single input file, type either
-
- psfix infile[.ps] [outfile[.out]]
- or
- psfix infile[.ps] [.out]
-
- where [] indicates quantities which need not be typed. The
- default outfile name is the infile with .out as the
- extension. You may type .any in place of the outfile name,
- in which case the infile name is used with .any as the
- extension.
-
- For example,
-
- psfix stuff .foo
-
- will cause psfix to read input from stuff.ps and write output
- to stuff.foo, whereas
-
- psfix stuff.eps
-
- will cause psfix to read input from stuff.eps and write output
- to stuff.out. You get the idea.
-
-
- WARNING: If an output file already exists, it will be overwritten!
-
- ----------------------------------------------------------------------------
-
- Directory File Use:
-
- For a directory of input files, type
-
- psfix dirfile [.out]
- or
- psfix dirfile [.ps .out]
-
- where dirfile contains the word DIRECTORY (case ignored) as the
- first word on the first line in the file, followed by input file
- names, one per line. File extensions are not neccessary and will
- be ignored if present.
-
- In addition, the result of a DOS dir, sorted or not, will be
- understood without need of any editing. For example, the file
- tmp.dat, created by either
-
- dir *.ps > tmp.dat
- or
- dir *.ps | sort > tmp.dat
-
- will work fine, even though DIRECTORY is not the first word.
-
- The default output file extension is .out. If another
- is desired, it must be specified after dirfile on the
- command line. Likewise, the default input file extension
- is .ps. If another is desired, *both* the input and
- the output extensions must be specified after dirfile, as
- shown above. Thus, the DOS sequence
-
- dir *.eps > tmp.dat
-
- psfix tmp.dat .eps .foo
-
- will process all *.eps files in the current directory, putting
- the resulting output into the files *.foo.
-
-
-
- ----------------------------------------------------------------------------
- DISCLAIMER & RESTRICTIONS
-
- This software is the property of the Smithsonian Astrophysical Observatory
- and the U.S. government. It may be freely distributed under the following
- conditions:
- 1. It is distributed in its current form, without alterations.
- 2. No monetary profit is made, under any circumstances.
-
- No claims are made regarding bug-free operation. Responsibility for any loss
- resulting from use of this software rests entirely on the user.
- ----------------------------------------------------------------------------
-
-
-