First draft of wman app to browse and display manpages.
This commit is contained in:
parent
ed6ae63185
commit
ebfd6561cf
2 changed files with 51 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ fn werc_exec_request {
|
|||
if(~ $local_path */) {
|
||||
if(test -d $local_path)
|
||||
local_path=$local_path^'index'
|
||||
if not # XXX: This redir might step on apps with synthetic dirs.
|
||||
# XXX: This redir might step on apps with synthetic dirs.
|
||||
if not if(ls `{basename -d $local_path}^* >/dev/null >[2]/dev/null)
|
||||
perm_redirect `{echo $req_path|sed 's,/+$,,'}
|
||||
}
|
||||
if not if(~ $req_path *'.' *',' *';' *':')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue