enscript
Collins Richey
crichey
Fri Nov 11 20:07:00 PST 2005
On 11/11/05, Jorge Almeida <jalmeida at math.ist.utl.pt> wrote:
> On Thu, 10 Nov 2005, Collins Richey wrote:
>
> > On 11/10/05, Jorge Almeida <jalmeida at math.ist.utl.pt> wrote:
> > > I just noticed that the "--pretty-print" option of enscript is nowhere
> > > to be found in the man page (or in info enscript). It still works, but
> > > it became a secret. I can't be sure whether it was in previous versions
> > > of the manual. Can it be that it was forgotten when writing the man
> > > page, or is there some more arcane reason?
> > >
> >
> > Since it's so well hidden, tell us more about it, examples maybe?
> >
> > --
> enscript --pretty-print=perl myperlprogram.pl
> will print it taking into account that it is a perl program and not
> just a text file (keywords in bold, indentation respecting matching braces,...)
>
> man dar|enscript --pretty-print=nroff -
> will print a man page with an adequate layout...
>
>
> I assumed I had learned about it from the man page, but maybe
> not...Google showed this page:
> http://helpdesk.ua.edu/unix/enscript.html
>
> --
It's probably on the way out; it definitely hasn't been updated.
enscript --pretty-print=php ... is a non-starter. Sigh.
--
Collins Richey
Debugging is twice as hard as writing the code ... If you write
the code as cleverly as possible, you are, by definition, not
smart enough to debug it.
-Brian Kernighan
More information about the Linux-users
mailing list