Sheel script generating all weekday of previous month
Posted on 2006-07-14
I want to generate all weekday of previous month and output it to a text file using shell script.
For example, current month is July 2006 . after running the script, it will output a file called "date.txt" which contains :