[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64925] String equality test listed as double equals sign
From: |
Shaddy |
Subject: |
[bug #64925] String equality test listed as double equals sign |
Date: |
Fri, 24 Nov 2023 03:43:12 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?64925>
Summary: String equality test listed as double equals sign
Group: GNU GRUB
Submitter: tnemmockcore
Submitted: Fri 24 Nov 2023 08:43:10 AM UTC
Category: Documentation
Severity: Major
Priority: 5 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: Git master
Release:
Discussion Lock: Any
Reproducibility: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 24 Nov 2023 08:43:10 AM UTC By: Shaddy <tnemmockcore>
I have cause to add a customisation to my grub.cfg file, so I've been reading
the GRUB manual.
I noticed that the string equality test syntax, under the "test" command
section, is documented as double equals sign (==).
But in all my encounters of grub.cfg, including generated ones for years and
years now, I've only ever see a single equals sign (=). ie:
if [ "${1}" = "keep" ]; then
Admittedly, I have not tested if the double equals works in the same way, but
even if it did (so it's an either/or proposition), shouldn't the single equals
be documented as well?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64925>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #64925] String equality test listed as double equals sign,
Shaddy <=