![]() |
anyone know bash script?
im stuck on a small project for school, its a very basic "appointment book" script in bash, heres my problem:
What day would you like to see? mo ': not a valid identifier '/plz: line 17: syntax error near unexpected token `in '/plz: line 17: `case "$dayc" in heres the code it comes from: echo -n "What day would you like to see? " ; read day dayc=`echo $day | cut -c1-2 | tr "A-Z" "a-z"` case "$dayc" in ""mo|tu|we|th|fr|sa|su"") echo "Acceptable Input";; i dont see whats wrong? |
All times are GMT -7. The time now is 09:47 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123