bugGNU GRUB - Bugs: bug #27695, parser.sh ignores the closing...

 
 

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

bug #27695: parser.sh ignores the closing quote when preceeded by a variable

Submitted by:  Andreas Born <shador>
Submitted on:  Tue 13 Oct 2009 09:11:16 PM UTC  
 
Category: TerminalSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Tue 13 Oct 2009 09:11:16 PM UTC, original submission:

The problem is reproducible with this example:

> set blub=blob
> echo $blub

blob

> echo "${blub}"

blob

> echo "$blub"
>

=> fails, the closing quote is ignored

> echo "$blub""

blob
=> works as workaround

The real trouble starts with strings containing spaces. But it can be fixed, as shown, by adding another quote at the end or using ${...}.

This was tested with beta~4.

Andreas Born <shador>

 

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 shador (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
    Tue 18 May 2010 12:41:24 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1