blob: a5d6bd970133edcf1728544a4936fd1bc91f35ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# smash
The **sm**all **sh**ell is the default shell of the reX os.
## Syntax
### Pipe Stream
```
$ command [args...] | ... | command [args...] | command [args]
```
### Variables
Variables are inserted in the location by indicating the following:
```
$ command arg1 arg2 $[variable]
```
Variables are set by the following:
```
$ [variable]=command [args...] [| ... | ...]
```
## Run a script
You can run a script by providing its path to smash and every argument after it are forwarded to the script.
```
$ smash <script> [args...]
```
## Notice
As you see is smash **not** POSIX-compliant.
|