swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 48f24a1ee2e1aeed36c9aed1c8ec590455a9a0c4
parent d0a02720c629f40d787023fdd4276eded59fcfc8
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 21 Dec 2008 09:37:14 +0100

Comment out unused line.
Diffstat:
Mlib/feeds/atom.tpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/feeds/atom.tpl b/lib/feeds/atom.tpl @@ -11,7 +11,7 @@ fn statpost { # XXX $post_uri is broken produces output that includes full file path (eg., /gsoc/www/...) post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}} title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' } - date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} + # Not used: date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} # TODO: use mtime(1) and ls(1) instead of lunix's stat(1) stat=`{stat -c '%Y %U' $f} #mdate=`{/bin/date -Rd $stat(1)} # Not used because it is unreliable