mirror_edk2/ShellPkg/Application/Shell
Brendan Jackman 23385d6319 ShellPkg: Manually parse parameters
We can't use ShellCommandLineParse as it would error out when the shell was
called with args like "cp -r foo bar", because "-r" is not a recognised shell
option

A different way to avoid some of this manual parsing would be to prepend '^' to
each argument, but that would still require the degree of parsing necessary to work
out which words are part of the command and which are shell options.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15220 6f19259b-4bc3-4df7-8a09-765794883524
2014-02-11 22:39:49 +00:00
..
ConsoleLogger.c ShellPkg: Remove ASSERT 2014-01-16 16:53:23 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Change StdIn redirection 2014-01-17 17:51:09 +00:00
ConsoleWrappers.h ShellPkg: Fixes the shell so output redirection works for the 'mode' command 2013-10-24 17:47:57 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg: Return the failure 2014-01-16 16:53:56 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Manually parse parameters 2014-02-11 22:39:49 +00:00
Shell.h ShellPkg/Shell: Fix reporting of exit status in ShellProtocol.Execute 2014-01-24 22:27:11 +00:00
Shell.inf ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
Shell.uni ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
ShellEnvVar.c ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c Follow Shell specification to make sure the “command.man” file is always used no matter “command.efi -?” or “command -?” is typed. 2013-12-09 02:24:39 +00:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c Update the comments in function headers to follow Doxygen special documentation blocks in section 2.3.5. 2014-01-23 00:27:52 +00:00
ShellParametersProtocol.h ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellProtocol.c 1. Fix several comments in function headers for 'ShellProtocol.c', 'ShellProtocol.h' and 'Ls.c'. 2. Remove the initialization of variable 'CalleeExitStatus' in function 'RunScriptFileHandle' of 'Shell.c' from its declarartion. 2014-01-28 00:37:11 +00:00
ShellProtocol.h 1. Fix several comments in function headers for 'ShellProtocol.c', 'ShellProtocol.h' and 'Ls.c'. 2. Remove the initialization of variable 'CalleeExitStatus' in function 'RunScriptFileHandle' of 'Shell.c' from its declarartion. 2014-01-28 00:37:11 +00:00