Small recreation of tcsh. Documentation is available at https://reyshyram.github.io/42sh/.
./42sh
$> pwd
/tmp
$> cd test
$> pwd
/tmp/test
You can also execute a file as a script:
./42sh path/to/script.shSimply use make to compile the program:
make -jAnd then run the resulting binary, in this case, 42sh.
By default, the Makefile uses epiclang. To compile with something else, you can simply modify the value of CC like this:
make -j CC=gccTo execute the unit tests, use the tests_run rule, which will compile the tests and execute the resulting binary.
make -j tests_runWarning
This program is left as is, without any warranty. Use at your own caution. Moreover, this is a school project. Epitech students, beware the -42.