[ "${LANGUAGE}" -a -r "${_EXEC}/l10n/${LANGUAGE}.sh" ] && . "${_EXEC}/l10n/${LANGUAGE}.sh"
LANGUAGES='' glob="/" depth=-1
+set -- "$@" --
while [ $# -gt 0 ]; do case $1 in
--system) glob_system_pages=true; shift 1;;
:*) LANGUAGES="${LANGUAGES}${LANGUAGES:+ }${1#:}"; shift 1;;
--depth) depth="$2"; shift 2;;
- *) glob="$1"; shift 1;;
+ --) shift 1; break;;
+ *) set -- "$@" "$1"; shift 1;;
esac; done
+[ "$*" ] || set -- /
page='' page_abs='' ostamp='' odate='' lstamp='' ldate='' row='' rowstate=''
for l in $LANGUAGES; do printf '<th>%s</th>' "$l"; done
printf '\n</thead><tbody>\n'
-page_glob "$glob" "$depth" |while read page; do
+for glob in "$@"; do
+ page_glob "$glob" "$depth"
+done \
+| sort -u \
+| while read page; do
page_abs="$(page_abs "$page")"
acl_read "${page_abs}" || continue