shithub: werc

Download patch

ref: bbfa1958ced87eb3ebf6d2e01e33c0e45f4b85d0
parent: 94935a19e76287f6646c9ccfa03a23ff570a360b
author: sl <sl@stanleylieber.com>
date: Fri Jun 12 15:30:22 EDT 2020

apps/wman/app.rc: remove ssam dependency. junk characters no longer printed.

--- a/apps/wman/app.rc
+++ b/apps/wman/app.rc
@@ -81,7 +81,6 @@
 fn wman_default_out_filter {
 	# col -x syntax is the same for UNIX and Plan 9.
     escape_html \
-    | ssam 'x/[a-z]+-\n[ ]+[a-z]+\([0-9]\)/s/\n[ ]+//' \
     | sed 's!([\.\-a-zA-Z0-9]+)\(('^`{echo $wman_cat_list|tr ' ' '|'}^')\)!<a href="../\2/\1">&</a>!g' \
     | awk '/^$/ {if(n != 1) print; n=1; next} /./ {n=0; print}' \
     | col -x