summary refs log tree commit diff homepage
path: root/2018
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-01 00:14:59 -0500
committerJune McEnroe <june@causal.agency>2018-12-01 00:14:59 -0500
commite876582816567f549d48df72c3855c539398a4bd (patch)
treee558d61e1e9073c1a000a2fa8097d9cd9c3451fe /2018
parentDay 15, part 2 (diff)
downloadaoc-e876582816567f549d48df72c3855c539398a4bd.tar.gz
aoc-e876582816567f549d48df72c3855c539398a4bd.zip
Solve day 1 part 1
Diffstat (limited to '2018')
-rw-r--r--2018/day01-1.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/2018/day01-1.sh b/2018/day01-1.sh
new file mode 100644
index 0000000..38e713e
--- /dev/null
+++ b/2018/day01-1.sh
@@ -0,0 +1 @@
+sed 's/^/last/' | bc | tail -n 1