Simple embedded shell with runtime pluggable commands.
Implements a simple unix-like shell for embedded systems with a pluggable command architecture.
Diff: SimpleShell.h
- Revision:
- 31:27e8130a0d8f
- Parent:
- 30:35522ea06236
- Child:
- 35:1a8c5fce8895
--- a/SimpleShell.h Thu Dec 27 15:50:34 2018 +0000 +++ b/SimpleShell.h Fri Dec 28 17:10:31 2018 +0000 @@ -57,6 +57,12 @@ */ void command(callback_t cb, char *command); + /** Determine if the specified string includes a shell wildcard + * @param s is the string to check for a wildcard character + * @returns true or false + */ + bool haswildcard(char *s); + /** Canonicalize path following unix-style convention. * The specified path can be absolute or relative path names. If relative, * the path is appended to cwd.