File: README.easter.c

package info (click to toggle)
bsdmainutils 4.7.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 796 kB
  • ctags: 463
  • sloc: ansic: 5,899; sh: 145; makefile: 129; perl: 14
file content (19 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
easter.c was supplied by Oliver Elphick:

[ I, Charles Briscoe-Smith, wrote: ]
  >Also, I'd like to put easter.c in the bsdmainutils source package,           
  >but I'd need a (C) and licence notice for it first.                          

[ Oliver responded: ]
  Public domain will be OK, or BSD if you like.


Note that easter.c is buggy; it gets the date of Easter wrong by one week
for 1998 and 2001 at least.  easter.c.orig contains Oliver's original.
easter.c contains my hacked-around version.


To get a date for Easter out of gcal, use
  gcal -u -n --christian-holidays 2000 | grep 'Easter Sunday'

--Charles Briscoe-Smith <cpbs@debian.org>