| Crates.io | ilsh |
| lib.rs | ilsh |
| version | 0.1.0 |
| created_at | 2025-12-18 17:40:07.697322+00 |
| updated_at | 2025-12-18 17:40:07.697322+00 |
| description | `ilsh` - A POSIX-Compliant Shell (CLI) Implementation in Rust |
| homepage | |
| repository | https://github.com/ivanbgd/ilsh |
| max_upload_size | |
| id | 1992985 |
| size | 112,456 |
ilsh - A POSIX-Compliant Shell (CLI) Implementation in Rustbash.&>word and shell-specific >&word, which redirect both stdout and stderr to the file
whose name is the expansion of word.pre-commit hooks are supported.
$ pip install pre-commit # If you don't already have pre-commit installed on your machine. Run once.
$ pre-commit autoupdate # Update hook repositories to the latest versions.
$ pre-commit install # Sets up the pre-commit git hook script for the repository. Run once.
$ pre-commit install --hook-type pre-push # Sets up the pre-push git hook script for the repository. Run once.
$ pre-commit run # For manual running; considers only modified files.
$ pre-commit run --all-files # For manual running; considers all files.
After installing it, the provided pre-commit hook(s) will run automatically on git commit.
cargo run --release
export DEBUG=false
cargo run --release
A run script is provided.
The run script can set the DEBUG environment variable to false or true.
./run.sh
The program supports debugging output, which can be enabled by setting
the environment variable DEBUG to the value true.
It can be set outside the program, in the user shell, or inside the run.sh shell script.
This is only considered during compile time, and not during run time.
DEBUG=true ./run.sh
export DEBUG=true
./run.sh
cargo test../test.sh.