[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .CW usage by a new user
From: |
Tadziu Hoffmann |
Subject: |
Re: .CW usage by a new user |
Date: |
Thu, 5 Sep 2024 20:34:49 +0200 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
> I am translating to Spanish the book "Introduction to the command line"
> Attached is an image showing that I made it.
In your case you are intending those double quotes to directly
become characters in the output (as opposed to them being used
internally as delimiters for macro arguments). In this situation
it may be helpful for possible future readers of your groff code
to actually insert them as "special" characters in your code,
i.e., instead of
.CW "$ echo ""foo bar"""
write
.CW "$ echo \[dq]foo bar\[dq]"
and use " exclusively as a macro argument delimiter.
(Then there should also be no problems if you later decide to
rewrite the .CW macro and make it pass its argument to still
another macro.)
(You are going to have to go through all of the example
command lines anyway and convert the quotes, so I don't
think this is going to be more work.)