From 13f17fb1180375e64e02d1a3b9bc5faacc14c588 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 3 Dec 2021 14:14:40 +0100 Subject: Add 2017 Day 1 solutions --- 2017/01/puzzle-2.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 2017/01/puzzle-2.sh (limited to '2017/01/puzzle-2.sh') diff --git a/2017/01/puzzle-2.sh b/2017/01/puzzle-2.sh new file mode 100755 index 0000000..f16db44 --- /dev/null +++ b/2017/01/puzzle-2.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +trap 'rm -f xa[ab]' EXIT +mid=$((`tr -d '\n'