swerc

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

commit 0303039180857022bf5008b78ad559560e71aea6
parent 11c68566256c055fa153735c1580704b200412e7
Author: uriel@localhost.localdomain <unknown>
Date:   Sat, 28 Jun 2008 04:03:11 +0200

Add comment pointing out misterious branch
Diffstat:
Mbin/controller.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/controller.rc b/bin/controller.rc @@ -105,7 +105,7 @@ fn genbody { if not if ( test -f $body.html ) cat $body.html | /bin/sed '0,/<[Bb][Oo][Dd][Yy][^>]*>/d; /<\/[Bb][Oo][Dd][Yy]>/,$d' if not if (~ $body *.html && test -f $body ) - cat $body | /bin/sed -i '0,/<body[^>]*>/d;/<\/body>/,$d' + cat $body | /bin/sed -i '0,/<body[^>]*>/d;/<\/body>/,$d' # This branch is never taken? if not if ( ~ $body */[bB]log/index */[bB]log//index && ~ $#blogDirs 0 ) blogDirs = `{basename -d $body} if not if ( test -f pub/^$reqpath^.tpl )