A Bourne-compatible shell for ComputerCraft.
- Bash/sh-style command line
- Tab completion (defaulting to file names where not supported)
- Customizable prompts (including ANSI support)
- Local & environment variables
- Argument quoting
- Multiple commands on one line with semicolons
- Many built-in functions (including in-line Lua commands)
- Arithmetic expansion
- If, while, for statements
- Function support
- Shell scripting/shebangs
- Background jobs
- rc files
- Restorable history
- Job control, pausing
- Partial CCKernel2 support
- Full compatibility with CraftOS shell.lua
- Backtick/command substitution
- Pipes/console redirection/here documents
- Add test boolean operators (-a, -o)
- Add case statement
This project is licensed under the MIT license. You are free to modify and redistribute cash.lua as long as the copyright notice is preserved at the top of the script.