shithub: rc

Download patch

ref: 2ed7a8de94ef1410dcba81772c64f173153ee40c
parent: eb75b3bce0e0fcefa4c71651e68fe996addef330
author: sl <sl@x1yg3>
date: Sun Jul 6 19:01:21 EDT 2025

add pi

--- a/INDEX
+++ b/INDEX
@@ -47,6 +47,7 @@
 ntput - test network throughput
 openbsd - Boot OpenBSD inside vmx(1).
 osuny - rcpu to or rimport from osuny.bell-labs.co
+pi - Calculate pi.
 r - setup environment and run rio.
 rag - save image under http://notreally.info/transport/spacecraft/ragnarok/img/
 sparkline - create a sparkline (by anth)
--- /dev/null
+++ b/pi
@@ -1,0 +1,3 @@
+#!/bin/rc
+# Calculate pi.
+echo '1sq180sr60st2si[3li*1+d1+*3*suli27*12-lq*5lr*+lt5*/d48+Psy10lqlid2*1-***10lulqli5*2-*lr+lylt*-**srsqlult*stli1+silmx]smlmx' | dc
--