From: Paul Hänsch Date: Mon, 14 Aug 2023 21:03:26 +0000 (+0200) Subject: prettier default glob for pagelist X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=38ff8ee6b338da29811d174485f19d84eb4b221a;p=shellwiki prettier default glob for pagelist --- diff --git a/macros/pagelist b/macros/pagelist index f6828fd..86befb4 100755 --- a/macros/pagelist +++ b/macros/pagelist @@ -15,10 +15,9 @@ while [ $# -gt 0 ]; do case $1 in shift 1;; esac; done -[ "$dir" ] || dir=./ +[ "$dir" ] || dir=* [ "$depth" -ge 0 -o "$depth" -le 0 ] 2>&0 || depth=0 - printf '