Command-line Usage
Rust-implemented, POSIX-style shell that aims to be compatible with bash.
brush is a work in progress. If you encounter any issues or discrepancies in behavior from bash, please report them at https://github.com/reubeno/brush.
Synopsis
brush [OPTIONS] [SCRIPT_PATH] [SCRIPT_ARGS]...Arguments
| Argument | Description |
|---|---|
<SCRIPT_PATH> |
Path to script to execute |
<SCRIPT_ARGS> |
Arguments for script |
Options
| Option | Description |
|---|---|
--help |
Display usage information Possible values: true, false |
--version |
Display shell version Possible values: true, false |
-c <COMMAND> |
Execute the provided command and then exit |
-i |
Run in interactive mode |
-l, --login |
Make shell act as if it had been invoked as a login shell |
-n |
Do not execute commands |
--noediting |
Don’t use readline for input |
--noprofile |
Don’t process any profile/login files (/etc/profile, ~/.bash_profile, ~/.bash_login, ~/.profile) |
--norc |
Don’t process “rc” files if the shell is interactive (e.g., ~/.bashrc, ~/.brushrc) |
-O <OPTION> |
Enable shell option |
--posix |
Disable non-POSIX extensions |
-s |
Read commands from standard input |
--sh |
Run in sh compatibility mode |
-v, --verbose |
Print input when it’s processed |
-x |
Print commands as they execute |
--disable-bracketed-paste |
Disable bracketed paste |
--log-enable <EVENT> |
Enable debug logging for classes of tracing events Possible values: arithmetic, commands, complete, expand, parse, pattern, tokenize |
