For some reason this command spontaneously stopped working when running the script:
read -p "Prompt Text: " my_var
The command does not display the "Prompt Text: "
I can still provide user input but for some reason the prompt text doesn't show up.
It was working fine before and all of a sudden stopped working.
On the other hand if I run the command in the terminal it works fine.
Please help and happy 4th!