Hi, I'm writing a bash script and i have a condition that goes
if [ "$i" = "END"]
then
break
fi
but, when i go to run it, i come across this
line 10: [: missing `]'
where line 10 is the if [ "$i" = "END"]
I don't know what's going on
Hi, I'm writing a bash script and i have a condition that goes
if [ "$i" = "END"]
then
break
fi
but, when i go to run it, i come across this
line 10: [: missing `]'
where line 10 is the if [ "$i" = "END"]
I don't know what's going on
if [ "$i" = "END"]
Seems you're missing a space before ]
if [ "$i" = "END" ]
And i am the biggest doofus to ever walk this planet , thank you