ref: 11ad40a9f0acb6739de336c78e2043fb348e0920
parent: 75a67cfc323b4b59ac9bc6fa5ab5539a29d11a02
author: uriel <uriel@suckless.org>
date: Thu Aug 28 21:05:05 EDT 2008
Fix blog title links
--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -105,7 +105,7 @@
title=`{basename $1 | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
permlink= `{echo $1 | sed 's,^/[a-z/]*www/,/,; s,^sites/[^/]*/*/,/,; s/\.md$//' }
du=`{ls -l $1}
- echo '##<a href="' $"permlink '">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
+ echo '##<a href="'^$"permlink^'">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
}