[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36961] Use of `\t' in sed breaks grub-mkconfig
From: |
Gregoire Sutre |
Subject: |
[bug #36961] Use of `\t' in sed breaks grub-mkconfig |
Date: |
Thu, 26 Jul 2012 09:57:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20100101 Firefox/10.0.5 Iceweasel/10.0.5 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #36961] Use of `\t' in sed breaks grub-mkconfig,
Gregoire Sutre <=