swerc

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

commit 7f63b6083ab6b6d8182d52a297b6c9ae39408641
parent 0fb150953bfdf0d632cdb98932b144bb205ca69e
Author: uriel@localhost.localdomain <unknown>
Date:   Tue,  2 Dec 2008 11:38:45 +0100

Fix stupid typo, thanks 9soul for the catch!
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 @@ -8,7 +8,7 @@ fn statpost { f = $1 updated = `{/bin/date --rfc-3339'=seconds' -r $f |sed 's/ /T/'} - post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,'-e 's/\.(md|tpl)$//g'}} + 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]$//'}} # TODO: use mtime(1) and ls(1) instead of lunix's stat(1)