Created
April 19, 2013 21:53
-
-
Save msouth/5423491 to your computer and use it in GitHub Desktop.
When will a calendar for the current year be usable again?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -e 'for $year (2013..2113) {$cal = qx{cal $year}; $cal =~ s/\d{4}//; if ($year eq "2013") {$comp_cal = $cal} else { die "cal $year\n" if $comp_cal eq $cal} }' | |
cal 2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment