[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Extending .tm to allow for file handles
From: |
Tadziu Hoffmann |
Subject: |
Re: [Groff] Extending .tm to allow for file handles |
Date: |
Tue, 16 Feb 2010 10:34:58 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
> I was wondering if their is any possibility having .tm write
> to anything other than STDOUT ? It would make managing forward
> references (when used with 2 groff passes) much easier.
Instead of .tm you should use ".write <stream> <stuff>",
which does exactly what you want. (A stream is like a
filehandle, use ".open <stream> <filename>" to connect
the stream to a file first.)