aboutsummaryrefslogtreecommitdiff
path: root/19/day1/test.sh
diff options
context:
space:
mode:
Diffstat (limited to '19/day1/test.sh')
-rw-r--r--19/day1/test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/19/day1/test.sh b/19/day1/test.sh
new file mode 100644
index 0000000..3b4f3f1
--- /dev/null
+++ b/19/day1/test.sh
@@ -0,0 +1,9 @@
+for i in {6..1000}
+do
+ echo $i >> in
+ .vscode/3 < in | .vscode/1 > out
+ if !(cmp -s in out); then
+ echo $i
+ fi
+ rm in
+done \ No newline at end of file