mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(expansion/wildcard): do not remove quotes twice on non-pattern strings
There is still an issue with removing too many quotes when expanding variables (see #138). This will be tackled in a later PR.
This commit is contained in:
parent
aca85c3583
commit
2180909285
4 changed files with 19 additions and 5 deletions
8
test.sh
8
test.sh
|
|
@ -928,4 +928,12 @@ expecting <<EOF
|
|||
hello
|
||||
EOF
|
||||
|
||||
when_run <<"EOF" "unquoting behaviour"
|
||||
export target="'outfile'"
|
||||
echo $target
|
||||
EOF
|
||||
expecting <<EOF
|
||||
'outfile'
|
||||
EOF
|
||||
|
||||
finalize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue