From 37dc7507dd0f752120117b941fc0827fb07cd6c7 Mon Sep 17 00:00:00 2001 From: Adam Joly Date: Wed, 26 Jun 2024 12:49:06 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip:?= =?UTF-8?q?=20ctrl=20\=20and=20ctrl=20d=20working?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/parsing.h | 6 +++--- include/tokenizer.h | 6 ++++-- src/main.c | 23 +++++++++++++++++++---- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/include/parsing.h b/include/parsing.h index e9bf5a0..26b3eef 100644 --- a/include/parsing.h +++ b/include/parsing.h @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/25 12:20:26 by adjoly #+# #+# */ -/* Updated: 2024/06/21 12:41:11 by adjoly ### ########.fr */ +/* Updated: 2024/06/26 12:45:23 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -66,8 +66,8 @@ t_cmd *split_cmd(char *cmd_av, t_cmd *cmd); t_quote is_inquote(char *s, size_t i); /** - * @brief Take a character and check if it is a quote and return the - * type of quote + * @brief Take a character and check if it is a quote and return + * the type of quote * * @param c The character to check * diff --git a/include/tokenizer.h b/include/tokenizer.h index 1aabdc4..c1f7363 100644 --- a/include/tokenizer.h +++ b/include/tokenizer.h @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/18 20:14:15 by adjoly #+# #+# */ -/* Updated: 2024/05/26 16:32:00 by adjoly ### ########.fr */ +/* Updated: 2024/06/26 12:45:41 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -45,7 +45,9 @@ typedef struct s_token t_redirection_sign __to_redir_sign(char *redir_sign); /** - * @brief Take a string and split the filename and the redirect sign + * @brief Take a string and split the filename and the redirect + * sign + * * @param redir_s A string that contain a redirection * * @return (t_redirection) The splited redirection diff --git a/src/main.c b/src/main.c index c88411f..0789254 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,7 @@ /* By: mmoussou content))->redirection, av);