[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] strings on successive lines bug?
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] strings on successive lines bug? |
Date: |
Tue, 01 Jul 2003 09:37:49 +0200 (CEST) |
> By the same token:
>
> .ds one \\$*
> .ds two 2
> .one this is a long one, isn't it ?? ...
> .two
>
> leads to:
>
> this is a long one, isn't it ?? ....two
>
> (i.e. this is one way to use strings which have arguments).
>
> One the other hand,
>
> .ds one \\$*
> .ds two 2
> \*[one] this is a long one, isn't it ?? ...
> .two
>
> gives
>
> this is a long one, isn't it ?? ... 2
>
> (which is another).
To pass arguments to a string do this:
.ds one This is the string one with `\\$1' as an argument.
|||| \*[one two] ||||
which gives
|||| This is the string one with `two' as an argument. ||||
Werner