Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambiguous redirect #44

Closed
4 tasks
Tracked by #48
jojomo96 opened this issue May 15, 2024 · 0 comments · Fixed by #101
Closed
4 tasks
Tracked by #48

ambiguous redirect #44

jojomo96 opened this issue May 15, 2024 · 0 comments · Fixed by #101
Labels
bug Something isn't working MISSING (Flo has to do it) question Further information is requested

Comments

@jojomo96
Copy link
Owner

jojomo96 commented May 15, 2024

if a env expands inside the redirect, it is not allowed to contain spaces. I think ...

bash-3.2$ export test='c d e f'
bash-3.2$ echo a >> test$test
bash: test$test: ambiguous redirect
bash-3.2$ echo a >> $test
bash: $test: ambiguous redirect
bash-3.2$ echo a&& (echo a >> $test )
a
bash: $test: ambiguous redirect

to clear

  • ?
  • *
  • double quotes
  • single quotes
@jojomo96 jojomo96 added question Further information is requested MISSING (Flo has to do it) bug Something isn't working labels May 15, 2024
@flomero flomero mentioned this issue May 15, 2024
4 tasks
@flomero flomero linked a pull request May 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MISSING (Flo has to do it) question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant