| 1 |
If you have Date::Manip 5.xx installed (which is the case if you |
| 2 |
have a perl version less than 5.010), the examples are included |
| 3 |
in the Date::Manip man page. |
| 4 |
|
| 5 |
If you have Date::Manip 6.xx installed, examples are included |
| 6 |
in the Date::Manip::Examples man page, and in this directory. |
| 7 |
|
| 8 |
This directory contains two scripts which use Date::Manip to |
| 9 |
duplicate the functionality of two common unix scripts. |
| 10 |
|
| 11 |
The dm_date script duplicates the functionality of the unix 'date' |
| 12 |
command with a few differences. |
| 13 |
|
| 14 |
o It does not include the functionality to set the |
| 15 |
system date. |
| 16 |
|
| 17 |
o The date strings that can be read (using the -d |
| 18 |
or -f options) are anything that Date::Manip can |
| 19 |
parse. |
| 20 |
|
| 21 |
o The format string is any string suitable for passing |
| 22 |
to the Date::Manip::Date::printf function. |
| 23 |
|
| 24 |
The dm_zdump duplicates the functionality of the unix 'zdump' |
| 25 |
command. This should be a drop-in replacement for the zdump |
| 26 |
command except that the first two lines and the last two lines |
| 27 |
of zdump output do not contain any useful output. The dm_zdump |
| 28 |
command does not reproduce these lines. |