diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:41:33 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-31 21:41:33 +0200 |
| commit | b15ab562d74b5111ac7c9bd6e0ec185435902472 (patch) | |
| tree | 664a55a24d7e36a5f56bf1ce7b0ea96751e0cda0 /src/main.c | |
| parent | 808d1499f5708ad4eda3612416e62efe6fdff021 (diff) | |
| download | minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.tar.gz minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.tar.bz2 minishell-b15ab562d74b5111ac7c9bd6e0ec185435902472.zip | |
Removing ms_ prefix, Removing junk
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -34,23 +34,23 @@ int main(int argc, char **argv, const char **envp) (void)argc; (void)argv; - env = ms_env_from_array((char**)envp); - path = ms_path_update(NULL, ft_htget(env, "PATH")); + env = env_from_array((char**)envp); + path = path_update(NULL, ft_htget(env, "PATH")); printf("%s\n", (char*)ft_htget(path, "nmap")); - /* ms_env(env); */ - /* ms_pwd(&state); */ - /* ms_cd(&state, NULL); */ - /* ms_pwd(&state); */ + /* env(env); */ + /* pwd(&state); */ + /* cd(&state, NULL); */ + /* pwd(&state); */ /* while ((ret = ft_next_line(STDIN_FILENO, &line)) == 1) */ /* { */ - /* if (ms_eval(ms_parse(line)) == -1) */ + /* if (eval(parse(line)) == -1) */ /* continue ; // and display error */ /* free(line); */ /* } */ /* free(line); */ - ft_htdestroy(path, ms_ht_del_str_entry); - ft_htdestroy(env, ms_ht_del_str_entry); + ft_htdestroy(path, ht_del_str_entry); + ft_htdestroy(env, ht_del_str_entry); return (0); } |
