< weekly | Russ Allbery > Software > Scripts |
Assume that the final day of the report is the current day instead of two days previous. Archive the report with a name matching the last day of the report instead of the day following.
Use strftime instead of manipulation of the return of localtime to generate the archive file names. Update coding style generally.
Add full documentation and -h and -v options.
Lines changed: +195 -65
Use Getopt::Long and add an -f option to force moving todo to next.
Lines changed: +14 -6
Change the default time offset for reports to two days, since I'm now going to run this on Sunday.
Lines changed: +2 -2
Default the end date to the day the report generator is run.
Lines changed: +2 -2
Moved the reports directory.
Lines changed: +2 -2
Very minor cleanups. Bump revision; this is production.
Lines changed: +2 -2
Check @ARGV before accessing it to eliminate a warning, update copyright.
Lines changed: +3 -3
Use a more standardized global variable naming convention, fix the ordinal endings for 3 and numbers >9, use a slightly better method for reaching and chomping files.
Lines changed: +22 -21
Need to add one to the month when generating the archive file name.
Lines changed: +5 -3
Need to take the modulus of the day to get the right ordinal ending.
Lines changed: +2 -2
Rewritten to be commented, use decent coding standards, and use News::FormArticle rather than hard-coding the article. It should now be suitable for other people to use if they so wished.
Lines changed: +108 -38
Added Neil to the target audience.
Lines changed: +3 -2
*** empty log message ***
< weekly | Russ Allbery > Software > Scripts |