shithub: x

Download patch

ref: 7319bffe30981badbb951f86897d8cfc674a8983
parent: 830794964190b930e753533a4631573eda128c78
author: kvik <kvik@a-b.xyz>
date: Sat May 30 08:32:36 EDT 2020

x/man: don't convert spaces to tabs

--- a/man
+++ b/man
@@ -32,7 +32,7 @@
 	fn output {
 		t = /tmp/xman
 		mkdir -p $t
-		col -b >$t/tmp.$pid
+		col -bx >$t/tmp.$pid
 		if(~ $#section 0){
 			<$t/tmp.$pid awk -F'[)(]' '
 				NR == 1 {printf($2) >"/env/section"}
@@ -46,7 +46,7 @@
 		plumb $t/$section/$title
 	}
 if not
-	fn output {col -b}
+	fn output {col -bx}
 
 {if(~ $#section 0)
 	x/run 'MANWIDTH='$width man $flags $title