bugGNU GRUB - Bugs: bug #32448, Parser problem with variables in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32448: Parser problem with variables in compound commands

Submitter:  Josh Triplett <joshtriplett>
Submitted:  Sun 13 Feb 2011 07:12:27 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 23 Mar 2011 12:28:13 PM UTC, comment #1: 

Fixed. Real problem was with "time" being both a keyword and allowed argument.

Vladimir Serbinenko <phcoder>
Group administrator
Sun 13 Feb 2011 07:12:27 AM UTC, original submission:  

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.


Josh Triplett <joshtriplett>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by joshtriplett (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-23 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code