did env, exit and export (only env printing)
This commit is contained in:
parent
3f08544384
commit
85910da2fd
3 changed files with 43 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/07 14:13:41 by rparodi #+# #+# */
|
||||
/* Updated: 2024/08/10 19:43:58 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/08/10 19:58:12 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -16,12 +16,7 @@
|
|||
t_error builtin_export(t_state *state, t_spawn_info info)
|
||||
{
|
||||
if (info.arguments.len == 1)
|
||||
{
|
||||
// print env
|
||||
}
|
||||
else
|
||||
{
|
||||
// assign variable
|
||||
}
|
||||
return (builtin_env___(state, info));
|
||||
|
||||
return (NO_ERROR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue