diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-19 18:02:55 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-19 18:02:55 +0200 |
| commit | 536e0f9acc36a07202274ada0154b291ab619dcb (patch) | |
| tree | 25d2f6ba0709d315c7a7f8c26a1ff4d84b4a7bf4 /include/minishell.h | |
| parent | 957434ecd3c8170aafc145263b0090863ceadba3 (diff) | |
| download | minishell-536e0f9acc36a07202274ada0154b291ab619dcb.tar.gz minishell-536e0f9acc36a07202274ada0154b291ab619dcb.tar.bz2 minishell-536e0f9acc36a07202274ada0154b291ab619dcb.zip | |
Fixing spaces at the beginning/end of variable with ms_split_notrim in utils.c
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); |
