update: readme
This commit is contained in:
parent
a2f5656b15
commit
1e0e78ee10
10
README.md
10
README.md
@ -11,7 +11,7 @@ A lot of amazing shell stuff
|
|||||||
-[x] Get environment array (export)
|
-[x] Get environment array (export)
|
||||||
-[x] Set environment variable (export)
|
-[x] Set environment variable (export)
|
||||||
-[x] Simple builtin export
|
-[x] Simple builtin export
|
||||||
- Preliminary signals
|
-[x] Preliminary signals
|
||||||
-[x] Define struct for commands, something like (
|
-[x] Define struct for commands, something like (
|
||||||
```c
|
```c
|
||||||
typedef struct s_command
|
typedef struct s_command
|
||||||
@ -25,16 +25,16 @@ A lot of amazing shell stuff
|
|||||||
```
|
```
|
||||||
)
|
)
|
||||||
- [x] Make the `executor`, run a command
|
- [x] Make the `executor`, run a command
|
||||||
- Make a parser to create a command list
|
- [x] Make a parser to create a command list
|
||||||
- Add redirects, appends, pipe etc. File descriptor functions
|
- Add redirects, appends, pipe etc. File descriptor functions
|
||||||
a command can have multiple redirects but only the last is used for stdout
|
a command can have multiple redirects but only the last is used for stdout
|
||||||
Redirects take precedence over pipes, but pipes are still created and managed.
|
Redirects take precedence over pipes, but pipes are still created and managed.
|
||||||
should it close the unused pipe-end?
|
should it close the unused pipe-end?
|
||||||
all redirects are opened and closed, but only last fd is used.
|
all redirects are opened and closed, but only last fd is used.
|
||||||
multiple HEREDOCs can be nested, only last is used.
|
multiple HEREDOCs can be nested, only last is used.
|
||||||
|
|
||||||
|
|
||||||
- Expand \$ vars & support \$?
|
- Expand \$ vars & support \$?
|
||||||
|
* $var [x]
|
||||||
|
* $? [0]
|
||||||
- CB command to change banner
|
- CB command to change banner
|
||||||
- __Bonus:__ Command tree for &&, ||, *
|
- __Bonus:__ Command tree for &&, ||, *
|
||||||
|
|
||||||
@ -43,11 +43,13 @@ A lot of amazing shell stuff
|
|||||||
- `ctrl - C` redisplay prompt status 130
|
- `ctrl - C` redisplay prompt status 130
|
||||||
- `ctrl - D` exit shell
|
- `ctrl - D` exit shell
|
||||||
- `ctrl - \`
|
- `ctrl - \`
|
||||||
|
-- Done
|
||||||
|
|
||||||
### During process
|
### During process
|
||||||
- `ctrl - C` SIGINT to processs status 130
|
- `ctrl - C` SIGINT to processs status 130
|
||||||
- `ctrl - D`
|
- `ctrl - D`
|
||||||
- `ctrl - \` SIGQUIT to process core dumped status 131
|
- `ctrl - \` SIGQUIT to process core dumped status 131
|
||||||
|
-- Shows ^C
|
||||||
|
|
||||||
### During HEREDOC
|
### During HEREDOC
|
||||||
- `ctrl - C` redisplay prompt status 130
|
- `ctrl - C` redisplay prompt status 130
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user