summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-01 18:28:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-01 18:28:12 +0200
commit70e3b4133b89e4e77a67139ccaa37322e2507e49 (patch)
treef288fbaad300075c16b6a5385d860b142fa59ba9 /src/p_lcom_next.c
parentCool (diff)
download42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.gz
42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.bz2
42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.xz
42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.zst
42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.zip
Added quotes multiline
Diffstat (limited to 'src/p_lcom_next.c')
-rw-r--r--src/p_lcom_next.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c
index 28ad821..435a710 100644
--- a/src/p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -72,39 +72,6 @@ char
}
char
- **p_subst_args(const char word[],
- int8_t redir)
-{
- char **words;
-
- return (words);
- /* char **words; */
- /* char *subst; */
- /* size_t i; */
-
- /* if (redir == 0) */
- /* { */
- /* if (!(words = ft_split(word, ' '))) */
- /* return (NULL); */
- /* return (words); */
- /* } */
- /* i = 0; */
- /* while (word[i] && ft_ischarset("<>", word[i]) == FALSE) */
- /* i++; */
- /* while (redir > 0 && ft_isdigit(word[i]) == TRUE) */
- /* i--; */
- /* if (!(subst = ft_substr(word, 0, i))) */
- /* return (NULL); */
- /* if (!(words = ft_split(subst, ' '))) */
- /* { */
- /* ft_memdel((void*)&subst); */
- /* return (NULL); */
- /* } */
- /* ft_memdel((void*)&subst); */
- /* return (words); */
-}
-
-char
**p_subst_home(char *words[],
t_msh *msh)
{