Re: [PATCH] bug fix for scripting (update 2)

2007-07-22 Thread Marco Gerards
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:

Re: [PATCH] bug fix for scripting (update 2)

2007-06-27 Thread Bean
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

[PATCH] bug fix for scripting (update 2)

2007-06-25 Thread Bean
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