summary refs log tree commit diff homepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2018/day02-2.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/2018/day02-2.sh b/2018/day02-2.sh
new file mode 100644
index 0000000..c7876cb
--- /dev/null
+++ b/2018/day02-2.sh
@@ -0,0 +1,6 @@
+input=$(mktemp)
+cat > $input
+for i in $(seq 26); do
+	colrm $i $i < $input | sort | uniq -d
+done
+rm $input