minishell: do wildcard expansion

This commit is contained in:
Khaïs COLIN 2025-04-03 15:50:32 +02:00
parent f06f6e26e2
commit be183b99ee
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
5 changed files with 78 additions and 1 deletions

12
test.sh
View file

@ -509,6 +509,18 @@ expecting <<EOF
-hello there-
EOF
when_run <<EOF "wildcards"
echo *
touch hi there hello
echo *
echo h*
EOF
expecting <<EOF
*
hello hi there
hello hi
EOF
when_run <<EOF "quoted parentheses are not operators"
echo unclosed '('
EOF