Blame examples/README.examples
|
Packit |
95306a |
If you have Date::Manip 5.xx installed (which is the case if you
|
|
Packit |
95306a |
have a perl version less than 5.010), the examples are included
|
|
Packit |
95306a |
in the Date::Manip man page.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
If you have Date::Manip 6.xx installed, examples are included
|
|
Packit |
95306a |
in the Date::Manip::Examples man page, and in this directory.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This directory contains two scripts which use Date::Manip to
|
|
Packit |
95306a |
duplicate the functionality of two common unix scripts.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The dm_date script duplicates the functionality of the unix 'date'
|
|
Packit |
95306a |
command with a few differences.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
o It does not include the functionality to set the
|
|
Packit |
95306a |
system date.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
o The date strings that can be read (using the -d
|
|
Packit |
95306a |
or -f options) are anything that Date::Manip can
|
|
Packit |
95306a |
parse.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
o The format string is any string suitable for passing
|
|
Packit |
95306a |
to the Date::Manip::Date::printf function.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The dm_zdump duplicates the functionality of the unix 'zdump'
|
|
Packit |
95306a |
command. This should be a drop-in replacement for the zdump
|
|
Packit |
95306a |
command except that the first two lines and the last two lines
|
|
Packit |
95306a |
of zdump output do not contain any useful output. The dm_zdump
|
|
Packit |
95306a |
command does not reproduce these lines.
|