summaryrefslogtreecommitdiff
path: root/testsuite/dc.inp
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-10-20 21:42:31 +0000
committerPaolo Bonzini <bonzini@gnu.org>2004-10-20 21:42:31 +0000
commit9c9919efe2166efd32409054005619062624226c (patch)
tree29cf0853d8049b5d73337285c437fd35eb96086e /testsuite/dc.inp
downloadsed-9c9919efe2166efd32409054005619062624226c.tar.gz
initial import
(automatically generated log message) git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--base-0
Diffstat (limited to 'testsuite/dc.inp')
-rw-r--r--testsuite/dc.inp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/dc.inp b/testsuite/dc.inp
new file mode 100644
index 0000000..e4b731b
--- /dev/null
+++ b/testsuite/dc.inp
@@ -0,0 +1,14 @@
+# Compute Easter of 2002...
+# usage: (echo YEAR; cat easter.dc) | dc
+
+2002
+
+[ddsf[lfp[too early
+]Pq]s@1583>@
+ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30%
+d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+
+[March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx
+
+# Compute square root of 2
+
+16oAk2vpq \ No newline at end of file