There is no mistake in your bash script. But you are executing it with sh which has a less extensive syntax 😉
So, run bash ./choose.sh
instead 🙂
There is no mistake in your bash script. But you are executing it with sh which has a less extensive syntax 😉
So, run bash ./choose.sh
instead 🙂