[if gte mso 9]>

Re: [edk2] [Patch] ShellPkg: Remove redundant quotes for command 'FOR' in Shell

Subject: Re: [edk2] [Patch] ShellPkg: Remove redundant quotes for command 'FOR' in Shell

From: "Carsey, Jaben" <jaben.carsey@intel.com>

To: "Qiu, Shumin" <shumin.qiu@intel.com>

Date: 2014-09-17 03:54:33

Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

 

From: Qiu, Shumin
Sent: Tuesday, September 16, 2014 6:06 AM
To: Carsey, Jaben
Cc: edk2-devel@lists.sourceforge.net
Subject: [edk2] [Patch] ShellPkg: Remove redundant quotes for command 'FOR' in Shell
Importance: High

 

Hi Jaben,

Could you help to review the patch?  The quote surrounded parameters in ‘FOR IN’ loop will introduce redundant quotes in command line when using this parameter in subsequent commands. For example:

FOR %a IN "a b" " c"

        echo "5 - *%a*"

ENDFOR

Previous script will cause [echo "5 - *"a b"*" ] and [echo "5 - *" c"*"] run.

 

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>

 

Thanks,

Shumin