summary refs log tree commit diff homepage
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
commit05a65829ec7388d7f91788c93644c7388e9600ec (patch)
tree383d600056042c538c3ad0117345a595038fd7c4
parentDay 15, part 2 (diff)
downloadaoc-05a65829ec7388d7f91788c93644c7388e9600ec.tar.gz
aoc-05a65829ec7388d7f91788c93644c7388e9600ec.zip
Solve day 1 part 1
-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