36 content = ft_substr(shell->
cmd_line, start, len);
56 content = ft_substr(shell->
cmd_line, i, len);
73 if (c ==
'\'' || c ==
'"')
75 else if (ft_strchr(
"|<>(&)", c))
int handle_word(t_shell *shell, int i)
t_char_category assess_char_category(char c)
int handle_quote(t_shell *shell, int i)
int category_dispatcher(t_shell *shell, t_char_category category, int i)
t_quote_type assess_quote_type(char c)
int handle_operator(t_shell *shell, int i)
int append_token(t_shell *shell, t_token_type type, char *value, t_quote_type quote_type)
Minishell ana header dosyası
enum e_char_category t_char_category
enum e_quote_type t_quote_type