"isf (Jordán)" <i...@member.fsf.org> writes:

> Thats literally what Im trying and the output is something like this:

> Input:
> .CW ""$ echo foo    bar""

> Ouput:
> echo$

You need three quotes, not two.  Semantically, the whole macro argument is
enclosed in double quotes, and then the double quotes within that
double-quoted string have to be escaped, which *roff does by doubling
them.  So:

.CW """$ echo foo    bar"""

With only two double quotes, I think *roff parses that as an empty string.

-- 
Russ Allbery (ea...@eyrie.org)             <https://www.eyrie.org/~eagle/>

Reply via email to