X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=list.sh;fp=list.sh;h=e7b856c81346cf3d96488de569dd3d36f768ad53;hb=bd9521dafa59ac26c2d7d6fcba895445b86b0151;hp=259b9cdf3bfb6dba4b0cf2d583d5979f5477a04c;hpb=61933758148caee332ab0ca95f1a2feccd612b5e;p=serve0 diff --git a/list.sh b/list.sh index 259b9cd..e7b856c 100644 --- a/list.sh +++ b/list.sh @@ -40,7 +40,7 @@ list_item() { :X s;,-?([^,]+)(,|$); [span .tag\n \1]\2;; tX;' )" "$name" "$link" "$link" else - printf 'Canning record for nonexist file: %s\n' "$name" >&2 + debug "Canning record for nonexist file: $name" meta_purge "$_DATA/$ITEM/$name" fi } @@ -71,7 +71,7 @@ list_fullname(){ list_filter(){ if [ "$FILTER" ]; then - printf "FEX: %s\n" "$list_fex" >&2 + debug "FEX:" "$list_fex" sed -nE "$list_fex" elif [ "${SEARCH#!}" != "${SEARCH}" ]; then grep -aviEe "$(STRING "${SEARCH}" \