[TAG] 2-cent Tip: Yo! zdump!
Ben Okopnik
ben at linuxgazette.net
Mon Mar 15 09:31:42 MSK 2010
On Sun, Mar 14, 2010 at 11:43:47PM -0400, Benjamin Okopnik wrote:
> ----- Forwarded message from "s. keeling" <keeling at nucleus.com> -----
>
> I've yet again just discovered that tomorrow morning is "spring
> forward Day", so this may be apropos:
>
> alias dst="zdump -v Canada/Mountain | grep $(date '+%Y')"
>
> Substitute your TZ for C/M, of course.
Even that last part can be automated:
``
alias dst="zdump -v `cat /etc/timezone` | grep $(date '+%Y')"
''
--
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
More information about the TAG
mailing list