summaryrefslogtreecommitdiff
path: root/42sh/src/42sh.c
blob: 780d575fdffb8016be9cd63e63d5872794fc3cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}