Article View: comp.lang.postscript
Article #5623Re: PS Utilities (was: Re: Diatribe, revisited)
From: Liam R. E. Quin
Date: Fri, 10 May 1991 03:14
Date: Fri, 10 May 1991 03:14
35 lines
1838 bytes
1838 bytes
poirot@aio.jsc.nasa.gov (Daniel T. Poirot) writes:
>How about even an INDENT program? I have had to look at postscript files
>from all sorts of sources. [...]
This might not help you, but there is a PostScript indent program included
in Sun's OpenWindows. It's called "psindent". They don't seem to include
the source for it, though.
From the man page, it has quite a few options!
NAME
psindent - format POSTSCRIPT language or NeWS source
SYNOPSIS
psindent [ [ -ba | +ba ] [ -bb | +bb ] [ -bs | +bs ]
[ -cba | +cba ] [ -cbb | +cbb ] [ -cea | +cea ]
[ -ceb | +ceb ] [ -da | +da ] [ -db | +db ] [ -dba | +dba ]
[ -dbb | +dbb ] [ -dea | +dea ] [ -deb | +deb ]
[ -ea | +ea ] [ -eb | +eb ] [ -gra | +gra ] [ -grb | +grb ]
[ -gsa | +gsa ] [ -gsb | +gsb ] [ -ia | +ia ] [ -ib | +ib ]
[ -ib | +ib ] [ -lba | +lba ] [ -lbb | +lbb ]
[ -lca | +lca ] [ -lcb | +lcb ] [ -rba | +rba ]
[ -rbb | +rbb ] [ -rca | +rca ] [ -rcb | +rcb ] ] [ input-
file ... ]
Pretty wild, eh?
Lee
--
Liam Russell Quin, SoftQuad Inc., Toronto... 416 963 8337... lee@sq.com
`What one person finds valuable others do not even notice.
And they do not notice that they do not notice.'
-- Scott Kim, `Interdisciplinary Communication', in `The Art of [HCI] Design'
Technical Details
Message-ID:
<1991May10.031410.13626@sq.sq.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!lsuc!sq!leeReferences:
<1991May5.214431.27894@neon.Stanford.EDU> <1991May8.141344.17298@aio.jsc.nasa.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!lsuc!sq!lee From: lee@sq.sq.com (Liam R. E. Quin) Subject: Re: PS Utilities (was: Re: Diatribe, revisited) Message-ID: <1991May10.031410.13626@sq.sq.com> Organization: SoftQuad Inc., Toronto, Canada References: <1991May5.214431.27894@neon.Stanford.EDU> <1991May8.141344.17298@aio.jsc.nasa.gov> Date: Fri, 10 May 91 03:14:10 GMT Lines: 35