Reputation: 3471
I have the following bash code in a script file:
if [ 'false' == 'true' ]
then
write_map() >> 'groups.txt'
Groups='groups.txt'
fi
When I try to run the script, I get this message from bash, and nothing is run:
syntax error near unexpected token `>>'
Upvotes: 0
Views: 663
Reputation: 3471
So, there were two issues
Upvotes: 0