shell script variables
I have then following script:
#!/bin/bash
#calendar2 - try to automate calendar
$1
for NUM in 1 2 3 4 5 6 7 8 9 10 11 12
do
cal "$NUM" "$1"
echo
sleep 5
done
echo
exit 0
This sort of works, but what I really what is to be prompted to enter a year to display entire year calendar. Also is there a complied list of common script commands, such as READ, ECHO, FOR, WHILE and so forth?
Thankyou in advance!
sincerely,
Gary
|