]> git.plutz.net Git - invoices/commitdiff
sort invoices
authorPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 16:48:58 +0000 (17:48 +0100)
committerPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 16:48:58 +0000 (17:48 +0100)
doclist.sh

index 7cad858cd9609ddbb5cf562f1b78dc7cead64bba..460ee46d823a08fb0d7acb5cc1f63b5e5044ad22 100755 (executable)
@@ -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