Re: [Groff] option to set output file name

2009-04-29 Thread Mike Bianchi
Woops. "file descriptor" 0 is the standard input. file descriptor 1 is the standard output file descriptor 2 is the standard error output On Wed, Apr 29, 2009 at 09:15:06AM +0100, Ralph Corderoy wrote: > > Hi Michail, > > > may be I am missing something trivial, but I c

Re: [Groff] option to set output file name

2009-04-29 Thread Michail Vidiassov
Dear Ralph, >> Output redirection is no problem in shell scripts, but if groff is to >> be spawned from another program it becomes a problem, either you spawn a >> shell runing a script or spawn groff and have to bother with piping >> output. You can not just fire off groff and forget about it. >

Re: [Groff] option to set output file name

2009-04-29 Thread Tadziu Hoffmann
> [...] but if groff is to be spawned from another program it > becomes a problem, either you spawn a shell runing a script or > spawn groff and have to bother with piping output. You can not > just fire off groff and forget about it. What a miss :( Can't you fork, set up the appropriate file des

Re: [Groff] option to set output file name

2009-04-29 Thread Ralph Corderoy
Hi Michail, > may be I am missing something trivial, but I can not find a > command-line switch in groff to direct output to file. No, I'm pretty certain there isn't one. > Output redirection is no problem in shell scripts, but if groff is to > be spawned from another program it becomes a probl

[Groff] option to set output file name

2009-04-28 Thread Michail Vidiassov
Dear All, may be I am missing something trivial, but I can not find a command-line switch in groff to direct output to file. Output redirection is no problem in shell scripts, but if groff is to be spawned from another program it becomes a problem, either you spawn a shell runing a script or