ref: 0f84266540fbc914925c62abefff9b546b829288
parent: 94dfc1172c310c517f18229f4696ebd4741a2f78
author: uriel <uriel@suckless.org>
date: Wed Jul 9 03:23:46 EDT 2008
Comment out blog post reverse chronological ordering which wasn't working consistently and was creating other problems
--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -38,9 +38,10 @@
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>" }