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>2020-11-22 00:14:25 -0500
commit8e4a3b0d89af9635a97113741f3c272542b69830 (patch)
tree874aff16d97e953732353552c57a2154fdb30620 /2018
parentDay 15, part 2 (diff)
downloadaoc-8e4a3b0d89af9635a97113741f3c272542b69830.tar.gz
aoc-8e4a3b0d89af9635a97113741f3c272542b69830.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