From: Paul Hänsch Date: Tue, 21 Dec 2021 22:12:28 +0000 (+0100) Subject: somewhat quicker file listing X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;ds=sidebyside;h=27e8bd4613796f32768e7cdc7b70cf19ca067174;p=serve0 somewhat quicker file listing --- diff --git a/db_meta.sh b/db_meta.sh index d2d6999..e3a5c5f 100755 --- a/db_meta.sh +++ b/db_meta.sh @@ -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 }