ref: 615ddef295ac8497fdf05fe40c6e44ceaf78f1ff
parent: 864073948ed33ab4f2aadc2e1caf54beafe42304
author: uriel <uriel@engel.se.cat-v.org>
date: Sun Oct 26 00:58:20 EDT 2008
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.
--- 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