tonnytg / 42_minishell

This project has objective to build a prompt with shell commands
Apache License 2.0
2 stars 2 forks source link

Handle double quote should prevent interpreting the meta characters #7

Closed tonnytg closed 1 year ago

tonnytg commented 1 year ago

Handle " (double quote) which should prevent the shell from interpreting the metacharacters in the quoted sequence except for $ (dollar sign).

tonnytg commented 1 year ago

https://github.com/tonnytg/42_minishell/blob/main/srcs/parser/interpreter.c#L70