diff options
author | Nat Lasseter <user@4574.co.uk> | 2018-12-05 10:08:04 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2018-12-05 10:08:04 +0000 |
commit | cd5acc649c31f299f16ec1e205a752e19b908bc5 (patch) | |
tree | dfdf3e54969f88cf73b6d6bdbfe721c27ba0dc96 /day05/entrypoint | |
parent | 76056832683da277b2c68794cd49897da711d456 (diff) |
[day05] done, naïve and slow
Diffstat (limited to 'day05/entrypoint')
-rwxr-xr-x | day05/entrypoint | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/day05/entrypoint b/day05/entrypoint new file mode 100755 index 0000000..8982d21 --- /dev/null +++ b/day05/entrypoint @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ -x part1 ] ; then + echo -ne "Part 1:\n\t" + time ./part1 < input +fi +if [ -x part1 -a -x part2 ] ; then + echo +fi +if [ -x part2 ] ; then + echo -ne "Part 2:\n\t" + time ./part2 < input +fi |