Aug. 10, 2000
2:07 p.m.
] $ zdump -v Australia/Hobart | grep 2000 ] Australia/Hobart Sat Mar 25 15:59:59 2000 UTC = Sun Mar 26 02:59:59 2000 EST isdst=1 ] Australia/Hobart Sat Mar 25 16:00:00 2000 UTC = Sun Mar 26 02:00:00 2000 EST isdst=0 ] Australia/Hobart Sat Aug 26 15:59:59 2000 UTC = Sun Aug 27 01:59:59 2000 EST isdst=0 ] Australia/Hobart Sat Aug 26 16:00:00 2000 UTC = Sun Aug 27 03:00:00 2000 EST isdst=1
It would be nice if you could say $ zdump -y 2000 Australia/Hobart and get the same output, especially if this was clearly documented in zdump(8).
I come down on the side of classic UNIX philosophy here--if the job can be done with existing command-line tools (such as grep), don't reinvent the wheel. --ado