groff
[Top][All Lists]
Advanced

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

Re: [Groff] .rd request


From: Ralph Corderoy
Subject: Re: [Groff] .rd request
Date: Wed, 09 Jun 2010 13:47:56 +0100

Hi Pierre-Jean,

> Could someone give me another short example or some explanations?

    $ cat main.tr
    A.
    .rd ignored foo bar
    B.
    .rd
    C.
    .m
    D.
    $ cat data
    We have `\$1' and `\$2'.
    And another line, followed by a blank line...

    ...before the next lot of input.
    .de m
    A macro.
    ..
    $ nroff main.tr <data | cat -s
    A.   We  have  ‘foo’  and ‘bar’.  And another line, followed by a
    blank line...  B.  C.  A macro.  D.

    $ 

Cheers,
Ralph.




reply via email to

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