-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils_dollar.c
22 lines (19 loc) · 1.08 KB
/
utils_dollar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* utils_dollar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zhabri <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/12 14:26:56 by zhabri #+# #+# */
/* Updated: 2023/01/12 14:28:25 by zhabri ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
void infile_exception_tmp(char **second_part, char *arg_split)
{
char *tmp;
tmp = ft_strjoinf(ft_strjoin("\"", arg_split), "\"");
*second_part = ft_strjoinf(*second_part, tmp);
free(tmp);
}