if [ "$mode" = browse -a "$ORDER" = Date ]; then
list_directories
list_filemeta . |cut -f2- \
- | xargs -d\n stat -c '%Y %n' \
+ | xargs -rd'\n' stat -c '%Y %n' \
| sort -rn |cut -d/ -f2-
elif [ "$mode" = browse -a "$ORDER" = Name ]; then
list_directories
| sort -k 2 |cut -d/ -f2-
elif [ "$mode" = index -a "$ORDER" = Date ]; then
list_index |cut -f2- \
- | xargs -d'\n' stat -c '%Y %n' \
+ | xargs -rd'\n' stat -c '%Y %n' \
| sort -rn | cut -d/ -f2-
elif [ "$mode" = index -a "$ORDER" = Name ]; then
list_index | sort -k 2 | cut -d/ -f2-
. "$_EXEC/cgilite/storage.sh"
-w_tags="$(find "$_DATA/" -path '*/.index/meta' -exec cut -f4 '{}' + \
+w_tags="$(find "$_DATA/" -path '*/.index/meta' -print0 \
+ | xargs -r0 cut -f4 \
| cut -d= -f2- |tr , '\n' | sort -u)"
w_tags="$(UNSTRING "$w_tags")"