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

Submitter:  Andreas Born <shador>
Submitted:  Tue 13 Oct 2009 09:11:16 PM UTC
   
 
Category:  Terminal Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  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>

 

(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 (Updated the item)
  • -email is unavailable- added by shador (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
    2010-05-18 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code