Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 393201

Summary: sys-boot/grub-0.97-r10 has a typo in the grub-set-default utility and configuration files
Product: Gentoo Linux Reporter: Claudio Roberto França Pereira <spideybr>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: trivial CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 674364    
Bug Blocks:    
Attachments: \`default\' TYPO fix.

Description Claudio Roberto França Pereira 2011-12-05 00:39:32 UTC
Both the grub-set-default utility and the default file it creates (/boot/grub/default) contains a small typo, leading the user to believe that 'default\' is a keyword.

Reproducible: Always

Steps to Reproduce:
Run grub-set-default --help as root.
or
Inspect the default (/boot/grub/default) file created by the grub-set-default utility



This is a small typo, I just changed \`default\' to \`default\`. Should I change the patch to use simple apostrophes instead ('default')?

It seems the matter is actually a bit too complicated... From wikipedia:

Many earlier (pre 1985) computer displays and printers rendered the ASCII apostrophe as a typographic apostrophe, and rendered the ASCII grave accent ( ` ) U+0060 as a matching left single quotation mark. This allowed a more typographic appearance of text: ``I can't'' would appear as ‘‘I can’t’’ on these systems. This can still be seen in many documents prepared at that time, and is still used in the TeX typesetting system to create typographic quotes.
http://en.wikipedia.org/wiki/Apostrophe

Maybe the author thougth that autotools would generate pretty/simetric quotation marks.
Comment 1 Claudio Roberto França Pereira 2011-12-05 00:41:56 UTC
Forgot to mention, I'm reporting this here because grub legacy support has been dropped officially. Anyways, since I use Gentoo and the fix is trivial, why not make this perfect?

Patch supplied.
Comment 2 Claudio Roberto França Pereira 2011-12-05 00:42:34 UTC
Created attachment 294815 [details, diff]
\`default\' TYPO fix.
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-02-08 15:22:35 UTC
grub:0 is gone