]> git.plutz.net Git - invoices/commitdiff
use ascii sort order for doc IDs
authorPaul Hänsch <paul@plutz.net>
Tue, 18 Mar 2025 11:20:04 +0000 (12:20 +0100)
committerPaul Hänsch <paul@plutz.net>
Tue, 18 Mar 2025 11:20:04 +0000 (12:20 +0100)
doclist.sh

index 0472ec7b4b086f93784eaa24404bfb5e11dce38e..6e77fa6fe4c92ca9376da436bd2e7896fde0d382 100755 (executable)
@@ -6,7 +6,7 @@ list_status() {
   local status=$1 id type net tax gross junk
 
   grep -lxF "status    ${status}" "$_DATA"/*.kvd \
-  | sort -r \
+  | LANG=C sort -r \
   | while read file; do
     id="${file##*/}" id="${id%.kvd}"
     DB3 open "$file" || continue