|
| From: | Jordan Uggla |
| Subject: | [bug #35893] grub-script word splitting fails to strip leading whitespace |
| Date: | Mon, 19 Mar 2012 06:57:12 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7 |
URL:
<http://savannah.gnu.org/bugs/?35893>
Summary: grub-script word splitting fails to strip leading
whitespace
Project: GNU GRUB
Submitted by: jordanu
Submitted on: Mon 19 Mar 2012 06:57:11 AM GMT
Category: None
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:
Word splitting in grub-script fails to strip leading whitespace. For instance
this code should (and does in bash) output "1 2 3" but instead in grub-script
outputs " 1 2 3":
list=" 1 2 3"
echo $list
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35893>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |