groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Including Verbatim Text.


From: Werner LEMBERG
Subject: Re: [Groff] Including Verbatim Text.
Date: Wed, 13 Nov 2002 07:19:25 +0100 (CET)

> And a less mis-leading one.
> 
>     (echo .eo; date; echo .ec) | groff -ms

This can't work at all.  ms has a special initialization trap which is
called as soon as gtroff starts to add data for the current line.
Thus, it processes .eo, then this trap.  Of course, you get weird
results without an escape character (and gtroff doesn't stop since it
is in a non-terminating `.while' loop).

Say this instead to spring the first-page trap:

  (echo .br; echo .eo; date; echo .ec) | groff -ms


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]