![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
|
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?
__________________
self made mothafucka. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |