]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix echo to support displaying special characters
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 18 Jul 2016 09:50:20 +0000 (17:50 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 20 Jul 2016 02:28:00 +0000 (10:28 +0800)
commit95fc5a877502a6e6324300eed0136243d359fa96
tree6f16577c7c8bb0eb758e2e982f244daea9412222
parent0fcf8d4df85d861b6e721bd1d8abb449f05e15ed
ShellPkg: Fix echo to support displaying special characters

Run 'echo -t' without the patch will get the result:
  echo: Unknown flag - '-t'
  The expected result is to display '-t' literally.
  This patch adds special handle for 'echo'. 'echo' will not use the
  general parameter parsing library.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellLevel3CommandsLib/Echo.c
ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni