]> git.plutz.net Git - serve0/commitdiff
somewhat quicker file listing
authorPaul Hänsch <paul@plutz.net>
Tue, 21 Dec 2021 22:12:28 +0000 (23:12 +0100)
committerPaul Hänsch <paul@plutz.net>
Tue, 21 Dec 2021 22:12:28 +0000 (23:12 +0100)
db_meta.sh

index d2d6999c0778fa2b19d211d7c9ca8b3cc7ab7dac..e3a5c5fc797b3cb7194c3c47420b6a4fb95d6240 100755 (executable)
@@ -157,9 +157,9 @@ list_meta(){
 
     dbmeta_autogroup "$meta" \
     | while read -r LENGTH WIDTH HEIGHT TAGS COMMENT NAME GROUP; do
-      printf '%i       %i      %i      tags=%s comment=%s      %s%s\r  %s\n' \
-             $LENGTH $WIDTH $HEIGHT "${TAGS#tags=}" \
-             "${COMMENT#comment=}" "${pfx}" "${NAME%${CR}}" "${GROUP:-\\}"
+      printf '%i       %i      %i      %s      %s      %s%s    %s\n' \
+             $LENGTH $WIDTH $HEIGHT "${TAGS}" "${COMMENT}" \
+             "${pfx}" "${NAME}" "${GROUP}"
     done
   done
 }