summary refs log tree commit diff homepage
path: root/2019/day01-2.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2019/day01-2.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/2019/day01-2.sh b/2019/day01-2.sh
new file mode 100644
index 0000000..806d56f
--- /dev/null
+++ b/2019/day01-2.sh
@@ -0,0 +1 @@
+sed 's,.*,a=&/3-2;b=a;while(b/3-2>0){b=b/3-2;a+=b};.+a,'|bc