Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.

This commit is contained in:
Uriel 2009-10-29 09:47:53 +00:00
parent 79277bf160
commit aa813d0156

View file

@ -5,7 +5,7 @@
%{
wman_ls_pages $wman_cat_path \
| awk -F/ '{ print "<li><a href=\""$(NF)"\">"$(NF)"</a></li>" }
NR%28 == 0 { print "</ul><ul style=\"float: left\">" }'
NR%20 == 0 { print "</ul><ul style=\"float: left\">" }'
%}
</ul>