im sitting here stuck with an ideah but i cant figure out how to do it
i want the script to tell me how much time is left until i have to go to my kungfu practice
and thats 16:20
i want it to say:
You have only 1 hour and fifteen minutes left.
and it should be accurate to the actual clock ofcourse
i did something like
for i in `date`; do
while [ $i -ge 15:30 ] && [ $i -le 16:20 ]; do
echo you have only 50 minutes left! come on!
but i dont think that will work so i need some help.
should i use cut on date? how?