swerc

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

commit 73d0cb7634b2d15d9e778f3c3886b2065e0f87b1
parent 089b5cff2184204b69198762b333c9ee68bd9a71
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 26 Oct 2008 04:58:20 +0100

Add back /usr/bin/ to default path (/usr/bin/awk makes us actually less portable *sigh*)
And update to use the new fproc_cache.rc and expand the comment explaining how it works.
Diffstat:
Metc/initrc | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/etc/initrc b/etc/initrc @@ -12,14 +12,17 @@ plan9port=$PLAN9 # Path, make sure the plan9port /bin directory is included before /bin -path=($plan9port/bin/ ./bin/ /bin/) +path=($plan9port/bin/ ./bin/ /bin/ /usr/bin/) # Directory where your site(s) live ($site here is your domain name, eg., example.com) sitedir=sites/$site -# Set this to your favorite markdown formatter, eg., markdown.pl -# (md_cache is a wrapper around markdown.pl that caches output) -formatter=md_cache.rc +# Set this to your favorite markdown formatter, eg., markdown.pl (fproc_cache +# is a wrapper around a script it takes as an argument, in the default +# configuration markdown.pl, that caches output) +# Note that some werc components assume a markdown-like formatter, but all +# major functionality should should be formatter agnostic. +formatter=(fproc_cache.rc bin/contrib/markdown.pl) # Enable debugging, to disable set to () debug=true