README
This commit is contained in:
parent
bc019e4c04
commit
8d6a2795c4
16
README.md
16
README.md
@ -4,6 +4,14 @@ A lot of amazing shell stuff
|
|||||||
- libreadline-dev
|
- libreadline-dev
|
||||||
- libncurses-dev
|
- libncurses-dev
|
||||||
|
|
||||||
|
## Edge Cases
|
||||||
|
- `cat $PWD/test` should expand,
|
||||||
|
- `cd -` : `bash: cd: OLDPWD not set`
|
||||||
|
- `cd ~` : does not expand ?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
- [x] Find absolute path for command input ('/', './', 'cmd')
|
- [x] Find absolute path for command input ('/', './', 'cmd')
|
||||||
- [x]Add heredoc to tokenizer
|
- [x]Add heredoc to tokenizer
|
||||||
@ -27,15 +35,15 @@ A lot of amazing shell stuff
|
|||||||
)
|
)
|
||||||
- [x] Make the `executor`, run a command
|
- [x] Make the `executor`, run a command
|
||||||
- [x] 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
|
- [x] 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 \$?
|
- [x] Expand \$ vars & support \$?
|
||||||
* $var [x]
|
* [x] $var
|
||||||
* $? [0]
|
* [0] $?
|
||||||
- CB command to change banner
|
- CB command to change banner
|
||||||
- __Bonus:__ Command tree for &&, ||, *
|
- __Bonus:__ Command tree for &&, ||, *
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user