Modified makefiles and add AST module
This commit is contained in:
parent
a614195a2e
commit
635e9cfe95
20 changed files with 165 additions and 382 deletions
|
|
@ -6,15 +6,16 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/31 21:48:04 by rparodi #+# #+# */
|
||||
/* Updated: 2024/03/31 21:51:41 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/05/25 16:09:28 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "../includes/minishell.h"
|
||||
#include "me/str/str.h"
|
||||
|
||||
void ft_echo(t_str txt, t_str flag)
|
||||
{
|
||||
printf("%s", txt);
|
||||
if (ft_strcmp(flag, "-n") != 0)
|
||||
if (!str_compare(flag, "-n"))
|
||||
printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue