Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 931 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 931 Bytes

ash

If you are interested in writing your own shell, then this might be interesting. Otherwise don't use this :)

Basics

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++.

Compiling

It should be as easy as running make in the project directory.

Roadmap

Pretty much everything is still waiting to be done, mainly:

  • Piping You can now pipe commands!! :D
  • Signal handling (Only Ctrl+C (SIGINT) supported)
  • More builtins:
    • alias
    • declare
    • let
    • local
    • logout
    • export
    • cd
    • echo
    • exit
  • File redirection
    • output redirection Redirecting output with > works.
    • input redirection reading a file into stdin
  • Variable expansion
  • Colors :)

Released under the MIT License - Hack away