From 385b5c002a83d4683d29d9d4f306d929e1ad1e41 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 4 Sep 2020 22:24:49 +0200 Subject: gotta do stuff --- src/p_args_escape.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/p_args_escape.c (limited to 'src/p_args_escape.c') diff --git a/src/p_args_escape.c b/src/p_args_escape.c new file mode 100644 index 0000000..e6c9a24 --- /dev/null +++ b/src/p_args_escape.c @@ -0,0 +1,30 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* p_args_escape.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include + +void + p_args_escape_chars(char *words[]) +{ + /* TODO: escape \ */ + /* TODO: escape $vars */ + /* TODO: escape $# special vars */ + /* TODO: escape my life */ + char **ptr; + + ptr = words; + while (*ptr != NULL) + { + /* if (**ptr != C_SQUOTE) */ + ptr++; + } +} -- cgit v1.2.3