update: added echo builtin

This commit is contained in:
2025-11-02 03:14:43 +01:00
parent 52807ca13c
commit 214d7c24d2
4 changed files with 138 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* echo_def.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/10/31 10:31:08 by sede-san #+# #+# */
/* Updated: 2025/11/02 03:11:10 by sede-san ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ECHO_DEF_H
# define ECHO_DEF_H
# include "builtins.h"
typedef struct s_args
{
t_arg no_newline;
t_arg strings;
} t_args;
/******************************************************************************/
/* Functions */
/******************************************************************************/
// echo_def.c
extern t_args read_args(t_command cmd);
#endif /* ECHO_DEF_H */