URL:
<http://savannah.gnu.org/bugs/?36961>
Summary: Use of `\t' in sed breaks grub-mkconfig
Project: GNU GRUB
Submitted by: gsutre
Submitted on: Thu 26 Jul 2012 11:57:01 AM CEST
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Bazaar - trunk
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Various scripts in util/grub.d use `\t' in sed commands to indent
menu entries.
However, on some systems, sed does not recognize `\t', and the
resulting grub.cfg contains lines starting with 't' instead of
tabulations.
The problem occurs on NetBSD, but I guess that other BSDs are affected (as
well as OS X?).
To illustrate the problem in detail:
On Debian GNU/Linux:
$ sed --version
GNU sed version 4.2.1
[...]
$ echo "hello" | sed -e "s/^/\t/"
hello
On NetBSD 6.99.3
$ echo "hello" | sed -e "s/^/\t/"
thello
A simple fix is to replace those `\t' by tabulation characters.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36961>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub