f***ed up redirection cases
Closed this issue · 0 comments
ChimPansky commented
tkasbari@c4r3p8:~$ var="test file"
tkasbari@c4r3p8:~$ echo ho >"$var"
tkasbari@c4r3p8:~$ echo hi >$var
bash: $var: ambiguous redirect
tkasbari@c4r3p8:~$ var="\"abc cde\""
tkasbari@c4r3p8:~$ echo $var
"abc cde"