Skip to content

Reyshyram/42sh

Repository files navigation

42sh

Small recreation of tcsh. Documentation is available at https://reyshyram.github.io/42sh/.

Usage/Examples

./42sh
$> pwd
/tmp
$> cd test
$> pwd
/tmp/test

You can also execute a file as a script:

./42sh path/to/script.sh

How to compile/run

Simply use make to compile the program:

make -j

And 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=gcc

Running Tests

To execute the unit tests, use the tests_run rule, which will compile the tests and execute the resulting binary.

make -j tests_run

Warning

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.

About

Epitech project, recreation of tcsh

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors