From 0d361b53679474ea9d38ea236fc620de5821b001 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 10 Dec 2021 07:39:01 +0100 Subject: Use 'a' and 'i' --- 2021/10/puzzle-2.sed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2021/10/puzzle-2.sed b/2021/10/puzzle-2.sed index 887386c..2265284 100644 --- a/2021/10/puzzle-2.sed +++ b/2021/10/puzzle-2.sed @@ -14,5 +14,5 @@ s/\([(\[{<]*\){$/s = s * 5 + 3;\1/ s/\([(\[{<]*\)<$/s = s * 5 + 4;\1/ t loop -s/^/s = 0;/ -s/$/s/ +is = 0; +as -- cgit v1.2.3