This is my code:
alias radio='
if [ -e "$station" ]
then
open $station
else
say "I still don't know what your favorite radio station is sir. Would you mind giving me the link?"
echo "What is the link of your favorite station?"
read station
echo "station="$station"" >> ~/.fis/config
say "You can now try the command again."
fi'
The code runs up to the part where it asks for the link. When I provide it with a link I get the following error:
-bash: station=http://www.cidadefm.iol.pt/player/player.html?: No such file or directory
Does anyone have any idea of what might be wrong?