A simple interactive shell implementation for the Phasor VM.
- This script provides a basic Command Line Interface (CLI) that allows users to execute system commands, navigate the file system, and interact with the Phasor environment. It demonstrates the use of standard library modules for I/O, string manipulation, and system execution.
Removes leading and trailing whitespace from a string.
- Iterates through the input string to strip space characters (' ') from both the beginning and the end of the text.
- Parameters
-
| s | The input string to be trimmed. |
- Returns
- string A new string with whitespace removed.
Definition at line 16 of file Shell.dox.