From: Paul Hänsch Date: Sun, 12 May 2024 15:47:56 +0000 (+0200) Subject: put known IBANs at the bottom of list X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=50266fa18f563d8da371a7bf06c796db41b08ace;p=confetti put known IBANs at the bottom of list --- diff --git a/ledgers/iban_assign.awk b/ledgers/iban_assign.awk index 57ab62d..0491617 100755 --- a/ledgers/iban_assign.awk +++ b/ledgers/iban_assign.awk @@ -73,12 +73,6 @@ ledger && strftime("%Y-%m-%d", $2, "UTC") == $1 { } END { - for (iban in sure) { - line = "sure " iban; - split(sure[iban], uids, / /); - for (k in uids) line = line " " STRING(uids[k] "/" uid_fn[uids[k]]); - print line; - } for (iban in unsure) { line = "guess " iban " " STRING(unsure_rec[iban]); split(unsure[iban], uids, / /); @@ -89,4 +83,10 @@ END { line = "unknown " iban " " unknown[iban]; print line; } + for (iban in sure) { + line = "sure " iban; + split(sure[iban], uids, / /); + for (k in uids) line = line " " STRING(uids[k] "/" uid_fn[uids[k]]); + print line; + } }