Learn Bash Scripting by Building Five Programs

Hello everyone!
My code can’t pass the test for this following instructions


And here is my code

Can someone help me please?

remove the space at the end from TEXT

It doesn’t work after I removed space at the end of TEXT
Here is my code updated.

This is a message I got

Your script should have the suggested “if” statement added correctly

Did the instructions ask you to echo $NUMBER?

1 Like

I think @ambradnum is correct. You should remove the echo command, which is no longer required, above the if statement.
However, I think you do need the space after the comma in the TEXT variable.

1 Like