update readme.
This commit is contained in:
parent
f125b533f7
commit
32c72cb89a
24
README.md
24
README.md
|
@ -11,16 +11,17 @@ Supported features
|
||||||
* Begin ... End
|
* Begin ... End
|
||||||
* Loop ... End
|
* Loop ... End
|
||||||
* For name In [word...] ... End
|
* For name In [word...] ... End
|
||||||
* Break [If], Continue [If]
|
* Break [If], Continue [If], Exit [If]
|
||||||
* ( ... )
|
* ( ... )
|
||||||
* ||
|
* ||
|
||||||
* &&
|
* &&
|
||||||
* redirection
|
* Redirection
|
||||||
* | "pipes" (via a temporary file. Presumably, that's what MPW did as well.)
|
* | "pipes" (via a temporary file. Presumably, that's what MPW did as well.)
|
||||||
|
* Subshells (`...`, ``...``)
|
||||||
|
|
||||||
|
|
||||||
Not (yet) supported
|
Not (yet) supported
|
||||||
-------------
|
-------------
|
||||||
* subshells (`...`, ``...``)
|
|
||||||
* aliases
|
* aliases
|
||||||
* regular expressions
|
* regular expressions
|
||||||
* text-editing commands (search forward/backward, et cetera)
|
* text-editing commands (search forward/backward, et cetera)
|
||||||
|
@ -33,9 +34,11 @@ Builtin Commands
|
||||||
* Directory
|
* Directory
|
||||||
* Echo
|
* Echo
|
||||||
* Evaluate
|
* Evaluate
|
||||||
|
* Execute
|
||||||
* Exists
|
* Exists
|
||||||
* Export
|
* Export
|
||||||
* Parameters
|
* Parameters
|
||||||
|
* Quit
|
||||||
* Quote
|
* Quote
|
||||||
* Set
|
* Set
|
||||||
* Shift
|
* Shift
|
||||||
|
@ -49,7 +52,18 @@ Builtin Commands
|
||||||
Setup
|
Setup
|
||||||
-----
|
-----
|
||||||
1. Install MPW. The mpw binary should be somewhere in your `$PATH`.
|
1. Install MPW. The mpw binary should be somewhere in your `$PATH`.
|
||||||
It also checks `/usr/local/bin/mpw` and `$HOME/mpw/bin/mpw`
|
It also checks `/usr/local/bin/mpw` and `$HOME/mpw/bin/mpw`. You can
|
||||||
|
use mpw-shell without it but only with builtin commands.
|
||||||
2. Copy the `Startup` script to `$HOME/mpw/`. This script is executed
|
2. Copy the `Startup` script to `$HOME/mpw/`. This script is executed
|
||||||
when mpw-shell (or mpw-make) starts up (imagine that) and should
|
when mpw-shell (or mpw-make) starts up (imagine that) and should
|
||||||
be used to set environment variables.
|
be used to set environment variables.
|
||||||
|
|
||||||
|
|
||||||
|
Command Line Flags
|
||||||
|
------------------
|
||||||
|
|
||||||
|
-D name=value Define environment variable
|
||||||
|
-v Be verbose (equivalent to -Decho=1)
|
||||||
|
-f Ignore the Startup script
|
||||||
|
-c string Execute string
|
||||||
|
-h Display help
|
||||||
|
|
Loading…
Reference in New Issue