commit b8b0302c5529bfec79ed8731419011537ddbc374
parent 1c5c1045ac0216cd59851d87cd446de98176ed3e
Author: uriel@suckless.org <unknown>
Date: Wed, 9 Jul 2008 07:23:46 +0200
Comment out blog post reverse chronological ordering which wasn't working consistently and was creating other problems
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/bin/controller.rc b/bin/controller.rc
@@ -38,9 +38,10 @@ fn hide_paths {
fn menu {
lsArgs = ('-F')
# XXX will not work properly for $#blogDirs > 1 and matching is hackish
- if ( ! ~ $#inBlog 0 || { ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ } ) { # Work in progress XXX
- lsArgs = ($lsArgs -r)
- }
+ # XXX Work in progress, doesn't work well enough to be usable: too inconsistent, doesn't handle corner cases well at all
+ #if ( ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ ) {
+ # lsArgs = ($lsArgs -r)
+ #}
ls $lsArgs $1 | sed $dirfilter | awk -F/ '
BEGIN { print "<ul class=\"sidebar\">" }
END { print "</ul>" }