[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27695] parser.sh ignores the closing quote when preceeded by a var
From: |
Andreas Born |
Subject: |
[bug #27695] parser.sh ignores the closing quote when preceeded by a variable |
Date: |
Tue, 13 Oct 2009 21:11:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.2) Gecko/20090903 Iceweasel/3.5.2 (Zenwalk GNU Linux) |
URL:
<http://savannah.gnu.org/bugs/?27695>
Summary: parser.sh ignores the closing quote when preceeded
by a variable
Project: GNU GRUB
Submitted by: shador
Submitted on: Di 13 Okt 2009 21:11:16 GMT
Category: Terminal
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: SVN
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27695>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #27695] parser.sh ignores the closing quote when preceeded by a variable,
Andreas Born <=