On Fri, 2025-11-28 at 19:16 -0500, Felix Miata wrote: > Patrick O'Callaghan composed on 2025-11-28 22:13 (UTC): > > > Also the GRUB_DISTRIBUTOR line has a sed command using single quotes > > within a double-quoted string. It could be done with all double quotes > > and a lot of escaping, but this way is cleaner. > > You do realize that replacing the OEM content of GRUB_DISTRIBUTOR= needn't be > anything other than a simple string? I have a massive collection of > installations > containing /etc/default/grub, among which all are either empty, or contain > simple > strings of 11 characters or less. The value it contains, however determined, > is > what decides the boot directory name on the ESP. I'm aware of no other > purpose it > serves.
Not really the point I was trying to make. No doubt there as many ways to do this. I was just responding to the comment about why single and double quotes. poc -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
