From f0a9a1bc7cfd1a0b07557fec52c1f96559740a22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 1 Dec 2023 17:48:58 +0100 Subject: [PATCH] sort invoices --- doclist.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/doclist.sh b/doclist.sh index 7cad858..460ee46 100755 --- a/doclist.sh +++ b/doclist.sh @@ -6,6 +6,7 @@ list_status() { local status=$1 id type net tax gross junk grep -lxF "status ${status}" "$_DATA"/*.kvd \ + | sort \ | while read file; do id="${file##*/}" id="${id%.kvd}" DB3 open "$file" || continue -- 2.39.5