Types of quotes in xref linkend references
"lfs" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 01 Mar 2026 02:59:07 +0000
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <177233395446.7.3816500513963719661.1202598185@4forl1st5.slmail.me> |
Whilst looking to track down some package references within the XML sources, I happened to notice, in x/installing/xorg-config.xml that it has some xref elements in which the linkend attributes have targets enclosed in single quotes, rather than the double quotes I had seen elsewhere, and, as it happened, happened to be grep-ing for when I couldn't find something! I appreciate that there's no LFS style guide, and that one can use either form, but "the numbers" $ grep -r linkend=\" . | wc -l 9202 $ $ grep -r linkend=\' . | wc -l 330 $ might suggest that double quotes should be used for attribute values, unless there's any specific reason why single quotes are needed. Then again, maybe such inconsistencies in the sources are part of the learning experience. -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page