If you are interested in writing your own shell, then this might be interesting. Otherwise don't use this :)
The idea is to provide all the basic functionality that a standard shell provides, including common builtins, mostly to learn more about Unix and C++.
It should be as easy as running make
in the project directory.
Pretty much everything is still waiting to be done, mainly:
PipingYou can now pipe commands!! :D- Signal handling (Only Ctrl+C (SIGINT) supported)
- More builtins:
- alias
- declare
- let
- local
- logout
- export
cdechoexit
File redirectionoutput redirectionRedirecting output with > works.input redirectionreading a file into stdin
- Variable expansion
- Colors :)
Released under the MIT License - Hack away