bugGNU GRUB - Bugs: bug #35893, grub-script word splitting fails...

 
 

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

bug #35893: grub-script word splitting fails to strip leading whitespace

Submitted by:  Jordan Uggla <jordanu>
Submitted on:  Mon 19 Mar 2012 06:57:11 AM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Mon 19 Mar 2012 06:57:11 AM UTC, original submission:

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

Jordan Uggla <jordanu>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by jordanu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Mar 2012 12:30:48 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1