X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=pages%2Flist.sh;h=fc4ff66ceab3d8508be5deabc876b4661f4773f2;hb=ca0cde88cb003b41e62c2e08da8dd26b7b3b583e;hp=063bf40893e1b67e74e29ac6f61f6069318eb7dd;hpb=f3a95ddb800ed7539917db3e876c2cff4ca4befa;p=serve0
diff --git a/pages/list.sh b/pages/list.sh
index 063bf40..fc4ff66 100755
--- a/pages/list.sh
+++ b/pages/list.sh
@@ -42,13 +42,13 @@ fi
quicklinks(){
output=''
tac ${_DATA}/meta/recent \
- | while [ "$(printf %s "$output" |wc -l)" -lt 10 ] && read line; do
+ | while [ "$(printf %s "$output" |wc -l)" -lt 30 ] && read line; do
printf %s "$output" |grep -qF "$line" || output="$output$line$LF"
done
printf %s "$output" |while read line; do
linef=$(printf %s "$line" |sed -r 's;^.*(\?|&)f=([^&]+)&?.*$;\2;g')
lineo=$(printf %s "$line" |sed -r 's;^.*(\?|&)o=([^&]+)&?.*$;\2;g')
- printf %s "by ${lineo}: $(present_filter "$linef")"
+ printf 'by %s: %s' "$line" "${lineo}" "$(present_filter "$linef")"
done
}