From: Paul Hänsch Date: Fri, 1 Dec 2023 16:48:58 +0000 (+0100) Subject: sort invoices X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=f0a9a1bc7cfd1a0b07557fec52c1f96559740a22;p=invoices sort invoices --- 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