Skip to content

Circiter/computus-in-sed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

computus-in-sed

The sed script for performing the calculation of the date of Eastern Orthodox Easter.

Usage example:

echo 2020 | ./computus.sed

For testing for the years from 1994 upto 2034 execute ./dictionary-test.sh or to test an arbitrary range of years (using perl-module Dates::Easter) run ./range-test.sh <from_year> <to_year> (beware that both methods take a very long time due to the use of unary radix in current version of my script).

For more details see the actual implementation in computus.sed and/or my blog-post.

TODO: In principle, it is possible and not so hard to implement other algorithms for computus (e.g. for Catholic Easter).

References:

About

The sed can tell you the date of next Easter!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published