builtins cd, pwd (todo, refactoring cd)

This commit is contained in:
LuckyLaszlo
2021-12-05 01:01:27 +01:00
parent 27c00a78a0
commit c3a9035622
5 changed files with 78 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/03 13:36:54 by lperrey #+# #+# */
/* Updated: 2021/12/04 16:07:21 by lperrey ### ########.fr */
/* Updated: 2021/12/04 18:47:15 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,7 +17,7 @@ size_t ft_getenv_position(char *env_var);
static int change_env_value(char *arg);
// in complete shell, must mark all arguments for export
// in complete shell, must mark arguments for export
// (Not implemented in minishell)
int builtin_export(int argc, char *argv[], t_all *c)
{