Bean <[EMAIL PROTECTED]> writes:
> This patch fixes the following bugs:
>
> 1. Token parser
>
> echo aa"bb"cc
> old: aa"bb"
> new: aa"bb"cc
>
> set BB=1
> echo aa$BB
> old: aa 1
> new: aa1
>
> set BB=1
> echo ${BB}aa
> old: 1 aa
> new: 1aa
>
> set AA=1
> set BB=$AA
> echo $BB
> old: empty
> new:
New update:
Reset error number before returning from grub_script_execute_cmdline.
This will solve the problem that the menu is not displayed when some command
fails.
--
Bean
* normal/execute.c (grub_script_execute_cmdline): Reset error number
before returning from grub_script_ex
This patch fixes the following bugs:
1. Token parser
echo aa"bb"cc
old: aa"bb"
new: aa"bb"cc
set BB=1
echo aa$BB
old: aa 1
new: aa1
set BB=1
echo ${BB}aa
old: 1 aa
new: 1aa
set AA=1
set BB=$AA
echo $BB
old: empty
new: 1
AA is not defined
echo $AA
old: trash
new: empty
2. function
function