From 536e0f9acc36a07202274ada0154b291ab619dcb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 19 Aug 2020 18:02:55 +0200 Subject: Fixing spaces at the beginning/end of variable with ms_split_notrim in utils.c --- include/minishell.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/minishell.h') diff --git a/include/minishell.h b/include/minishell.h index fe05b7e..5ea68c5 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */ -/* Updated: 2020/07/19 19:24:06 by charles ### ########.fr */ +/* Updated: 2020/08/19 17:42:15 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -149,6 +149,7 @@ int utils_directory_iter( size_t utils_var_end(char *name); bool utils_valid_identifier(char *name); bool utils_start_with_valid_identifier(char *name); +char **ms_split_notrim(const char *s, char c); void print_prompt(void); -- cgit