update: integrated hashmaps in builtins, and replaced command calls by builtins

This commit is contained in:
2025-12-02 09:11:01 +01:00
parent dce51960b1
commit b1cf1d8560
6 changed files with 83 additions and 25 deletions

View File

@@ -6,7 +6,7 @@
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/10/31 02:41:11 by sede-san #+# #+# */
/* Updated: 2025/11/02 03:12:00 by sede-san ### ########.fr */
/* Updated: 2025/12/01 18:05:51 by sede-san ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,11 +14,13 @@
#include "echo_def.h"
u_int8_t builtin_echo(
t_command cmd
t_command cmd,
t_minishell *msh
){
const t_args args = read_args(cmd);
size_t i;
(void)msh;
i = -1;
while (args.strings.data.sp[++i])
{