Getting an “ambiguous redirect” error
Bash can be pretty obtuse sometimes. The following commands all return different error messages for basically the same error: Adding quotes around the variable seems to be a good way to deal with the “ambiguous redirect” message: You tend to get a better message when you’ve made a typing mistake — and when the error … Read more