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] Set environment variable (export)
|
||||
-[x] Simple builtin export
|
||||
- Preliminary signals
|
||||
-[x] Preliminary signals
|
||||
-[x] Define struct for commands, something like (
|
||||
```c
|
||||
typedef struct s_command
|
||||
@ -25,16 +25,16 @@ A lot of amazing shell stuff
|
||||
```
|
||||
)
|
||||
- [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
|
||||
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.
|
||||
should it close the unused pipe-end?
|
||||
all redirects are opened and closed, but only last fd is used.
|
||||
multiple HEREDOCs can be nested, only last is used.
|
||||
|
||||
|
||||
- Expand \$ vars & support \$?
|
||||
* $var [x]
|
||||
* $? [0]
|
||||
- CB command to change banner
|
||||
- __Bonus:__ Command tree for &&, ||, *
|
||||
|
||||
@ -43,11 +43,13 @@ A lot of amazing shell stuff
|
||||
- `ctrl - C` redisplay prompt status 130
|
||||
- `ctrl - D` exit shell
|
||||
- `ctrl - \`
|
||||
-- Done
|
||||
|
||||
### During process
|
||||
- `ctrl - C` SIGINT to processs status 130
|
||||
- `ctrl - D`
|
||||
- `ctrl - \` SIGQUIT to process core dumped status 131
|
||||
-- Shows ^C
|
||||
|
||||
### During HEREDOC
|
||||
- `ctrl - C` redisplay prompt status 130
|
||||
|
||||
Loading…
Reference in New Issue
Block a user