[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .CW usage by a new user
From: |
Jordán |
Subject: |
Re: .CW usage by a new user |
Date: |
Thu, 5 Sep 2024 12:22:03 -0400 |
User-agent: |
Icedove Mail |
En 5/9/2024 12:17, Russ Allbery escribió:
> 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.
Thanks, but what if I want do something like this:
.CW "$ echo "foo bar""
Because the output is something like this:
bar"$ echo foo
When I want something like this in the PDF.
$ echo "foo bar"
--
Jordán
Distribuidor de software libre y miembro de la Free Software Foundation.
Mi sitio web: https://libertysoftware.cl
A menos que adoptes el uso de criptografía, nuestra comunicación estará
absolutamente comprometida. Defiende tu privacidad e informate en
https://emailselfdefense.fsf.org/es/infographic.html o escríbeme al
respecto.
OpenPGP_signature.asc
Description: OpenPGP digital signature