The shell is called "shesells" because it is the shesells C shell and yeah.
To compile just fasten your seatbelt and type:
make
By default the prompt indicator is disabled, this is so that it passes the test script that I didn't write to compile it with the prompt run:
make withprompt
Installing the shesells shell on your computer is as simple as running: make install
you will probably afterwards want to adjust your passwd/shadow file to reflect your new favorite shell.
If you do not have permission to do this installation globally the file will be placed in ~/bin
- I didn't code a prompt at all. It isn't required and it screws up your test file.
- Unlike in bash "cd something | echo something" works as "expected"...
- everything after a
${>,<}
is assumed to be a part of the filename, this is only slightly quirkier than the way bash handles it. - I did not bother doing any $ substitutions except for $?. This is for the sake of my sanity.
- There is pretty much no error checking anywhere. In addition to which I think stderr is occasionally swallowed.
- echo accepts the "-e" flag, no other internal function takes flags of any kind.
- "
a > b | c
" does not work due to a parser error. - Max command length should be 512, that includes the "\n" that I strip off.
- There is no internal help of any kind, you can still use man though.
- The code may contain comments denoting broken items that are no longer broken.
- The exit values reported by functions are "occasionally" strange.
- This readme file was pastebinned at one point.
- It doesn't compile on FreeBSD to no one's surprise.
- There is no way to escape or quote anything.