Hi guys,
i'm beginner with Unix, I tried my best, but I Really don't know how to finish it :D.
here's my problem : I have to do something like Student system - student's name | subjects | mark |credits.
after starting script it will ask you for Student's name, then which subject, then the mark will appear.
I already have this, but its not workin.(EXAMPLE)
#!/bin/bash
echo "Student's name"
echo -n "Input student's name: "
read name
echo
case $name in
Franta Hru�ka|Matematika) echo "C" ;;
Franta Hru�ka|Programovan�) echo "D" ;;
Franta Hru�ka|Tvorba Webu) echo "A" ;;
Franta Hru�ka|Ekonomie) echo "-" ;;
esac
Thank guys!