bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Only one Friday 13th coming in 2016


From: Bill Duncan
Subject: Only one Friday 13th coming in 2016
Date: Sun, 20 Dec 2015 23:59:32 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

We had 3 this year..

$ for y in {1950..2050} ; do for m in {1..12};do cal $m $y|awk 'FNR==1{m=$0}/^ 
1/{print m}';done;done| awk '{a[$2]=a[$2]" "$1}END{for (i in a) print i,a[i]}'| 
sort| awk '{t=$1;$1="";a[$0]=a[$0]" "t}END{for (i in a) printf "%-24s %s\n", i, 
a[i]}' | sort | cat -n

     1   April July               1951 1962 1973 1979 1990 2001 2007 2018 2029 
2035 2046
     2   August                   1954 1965 1971 1982 1993 1999 2010 2021 2027 
2038 2049
     3   February August          1976 2004 2032
     4   February March November  1953 1959 1970 1981 1987 1998 2009 2015 2026 
2037 2043
     5   January April July       1956 1984 2012 2040
     6   January October          1950 1961 1967 1978 1989 1995 2006 2017 2023 
2034 2045
     7   June                     1952 1958 1969 1975 1980 1986 1997 2003 2008 
2014 2025 2031 2036 2042
     8   March November           1964 1992 2020 2048
     9   May                      1955 1960 1966 1977 1983 1988 1994 2005 2011 
2016 2022 2033 2039 2044 2050
    10   October                  1972 2000 2028
    11   September December       1957 1963 1968 1974 1985 1991 1996 2002 2013 
2019 2024 2030 2041 2047


Happy Holidays, Happy New Year in 2016 and thanks for being involved with such 
a great shell!

-- 
Bill Duncan,
bduncan@beachnet.org
+1 416 697-9315



reply via email to

[Prev in Thread] Current Thread [Next in Thread]