Re: Types of quotes in xref linkend references

"Rainer Fiebig" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 1 Mar 2026 12:58:52 +0100
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
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.

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?

Rainer

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page