From: Paul Hänsch Date: Tue, 22 Feb 2022 17:19:48 +0000 (+0100) Subject: bugfix: avoid listing empty lines X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a43c3cc48adab04657922f68cd9cc76177f2f428;p=serve0 bugfix: avoid listing empty lines --- diff --git a/db_meta.sh b/db_meta.sh index ffe7c4d..572ebbd 100755 --- a/db_meta.sh +++ b/db_meta.sh @@ -158,7 +158,7 @@ list_meta(){ { printf '%s\n' "$pfx" dbmeta_autogroup "$meta" } | sed -E ' - 1{ h; b; } + 1{ h; d; } G; s;^([^\t]+ [^\t]+ [^\t]+ [^\t]+ [^\t]+ )([^\n]+)\n(.*)$;\1\3\2; '