Date increment logic

view story

http://www.unix.com – Hi all, I need to increment date at run time. Example: I need to write a shell script with two parameters. 1. country code like (US,UK, IND.....) 2. Date range from_date to to_date (20070101 to 20070331) I need to run shell script like this country_info.sh US 20070101 20070331 first time the shell script takes US and 20070101 after completion of above second time it takes US and 20070102 . . . . lastly it takes US and 20070331 then exits I need to skip saturdays and run the script all other days from the above date range. Please help me Thanks (HowTos)