Re: Types of quotes in xref linkend references
"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 1 Mar 2026 12:25:42 -0600
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/1/26 7:07 AM, Xi Ruoyao ([email protected] via blfs-dev Mailing List) wrote: > On Sun, 2026-03-01 at 12:58 +0100, Rainer Fiebig wrote: >> Am 01.03.26 um 08:44 schrieb Pierre Labastie ([email protected] >> via blfs-dev Mailing List): >> >> / snip / >> >>> >>> Well, thanks for this thread, because I did not know about this >>> translation problem with double quotes. Even recently I've been using >>> double quotes, so single quotes cropping in has been delayed. Will try >>> to stick to single quotes now... >>> >>> For grepping, I suppose linkend=['"]... is enough as a regexp... >> >> I'm afraid that won't work. The quotes need to be escaped, like in >> >> grep -o linkend=[\'\"] xorg-config.xml >> linkend=" >> linkend=' >> linkend=" >> [...] >> >> or >> >> grep -o "linkend=[\'\"]" xorg-config.xml >> >> Same for sed. > > I just use two dots for = and whatever the quote is, like > "linkend..libxml2" to avoid the necessity of the outer quote. > >> Personally, I doubt the usefulness/value of translations of LFS/BLFS >> anyway because sooner or later the user will have to deal with English - >> when asking for support or reporting bugs elsewhere etc. And any >> translation carries the risk of mistakes. I also think that >> translations of the books are based on the _assumption_ that there is >> some demand for it. But is there? > > I've got some enhancement and support requests about LFS in Chinese, and > at least one of those enhancements is really implemented for the > (original English) book. There's also a request for the BLFS > translation but I don't have time to do that. > > From what I can remember, the frequency of mistakes in the LFS Chinese > translation is not above the frequency of mistakes in the English text. LOL. If BLFS was printed on standard letter size paper (8.5x11 inches/(215.9 x 279.4 mm) it would be over 2200 pages. There are bound to be mistakes in almost anything that large. Add into that the fact that BLFS is a moving target. We get, on average, 4.5 new package versions every day, 365 days per year. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page