diff options
Diffstat (limited to '')
-rw-r--r-- | 2020/day18-2.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2020/day18-2.sh b/2020/day18-2.sh new file mode 100644 index 0000000..1f49446 --- /dev/null +++ b/2020/day18-2.sh @@ -0,0 +1,9 @@ +#!/bin/sh +sed ' +s/(/&((/g +s/)/))&/g +s/*/))*((/g +s/+/)+(/g +s/^/((/ +s/$/))/ +' | ./day18 |