New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.
Other minnor cleanups.
This commit is contained in:
parent
bdf9922a24
commit
b7f33b8d07
3 changed files with 47 additions and 34 deletions
|
|
@ -25,7 +25,7 @@ fn listDir {
|
|||
if(! ~ $#redirectPermanent 1)
|
||||
{
|
||||
|
||||
for ( i in `{ ls -d $d/*/ $d/*.md $d/*.html $d/*.txt >[2]/dev/null |sed $dirfilter^'/index$/d;' } ) {
|
||||
for ( i in `{ ls -d $d/*/ $d/*.md $d/*.html $d/*.txt >[2]/dev/null |sed $dirfilter} ) {
|
||||
desc = ''
|
||||
if (test -f $i.md) {
|
||||
desc = `{ getMdDesc $i.md }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue