|
| From: | Josh Triplett |
| Subject: | [bug #32448] Parser problem with variables in compound commands |
| Date: | Sun, 13 Feb 2011 07:12:27 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110208 Firefox/4.0b11 Iceweasel/4.0b11 |
URL:
<http://savannah.gnu.org/bugs/?32448>
Summary: Parser problem with variables in compound commands
Project: GNU GRUB
Submitted by: joshtriplett
Submitted on: Sat 12 Feb 2011 11:12:27 PM PST
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:
Originally reported as http://bugs.debian.org/612991
grub> for x in 1 2 3 4 5 ; do echo I greet you for the ${x}th time ; done
error: syntax error.
error: Incorrect command.
error: syntax error.
grub> for x in 1 2 3 4 5 ; do echo ${x}th ; done
1th
2th
3th
4th
5th
grub> for x in 1 2 3 4 5 ; do echo ${x}th time ; done
error: syntax error.
error: Incorrect command.
error: syntax error.
grub> for x in 1 2 3 4 5 ; do echo $x th ; done
1 th
2 th
3 th
4 th
5 th
grub> for x in 1 2 3 4 5 ; do echo $x th time ; done
error: syntax error.
error: Incorrect command.
error: syntax error.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32448>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |