blob: 3bc021d6e5ff359656ff4e68c9a5f99570adaebd (
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
39
40
|
# 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...] [| ... | ...]
```
**IMPORTANT** `This is not implemented yet.`
## 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.
|