mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
minishell: do wildcard expansion
This commit is contained in:
parent
f06f6e26e2
commit
be183b99ee
5 changed files with 78 additions and 1 deletions
12
test.sh
12
test.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue