diff options
Diffstat (limited to '42sh/src/42sh.c')
| -rw-r--r-- | 42sh/src/42sh.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/42sh/src/42sh.c b/42sh/src/42sh.c new file mode 100644 index 0000000..780d575 --- /dev/null +++ b/42sh/src/42sh.c @@ -0,0 +1,16 @@ +#define _POSIX_C_SOURCE 200809L + +#include "helper.h" + +int main(int argc, char *argv[]) +{ + env_setup(); + + struct string *input = get_input(argc, argv); + + int r = _process_input(input); + + env_unset("PRETTY_PRINT"); + + return r; +} |
