shithub: riscv

Download patch

ref: a4d818eedbea608e3d5f1909250f0563ecde6076
parent: 44c94fbe072d49d693259523e251d179fdeee2e2
author: stanley lieber <stanley.lieber@gmail.com>
date: Wed Apr 9 17:20:02 EDT 2014

newt: fix 'h' formatting

--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -62,10 +62,10 @@
 		if(! ~ $#from 0){
 			date=`{awk -F '	' '{print $4;}' $i/xover >[2]/dev/null | fmtd}
 			awk -v date'='$"date -v from'='$from(1) -F '	' \
-				'{print " " $1 "	" date " " from "		" substr($2,0,50);}' $i/xover >[2]/dev/null
+				'{print "  " $1 "	" date " " from "		" substr($2,0,50);}' $i/xover >[2]/dev/null
 		}
 		if not
-			echo ' '$"i'	nil	nil	nil'
+			echo '  '$"i'	nil	nil	nil'
 	}
 }
 fn getposts{ ls | grep -e '^[0-9]+$' | sort -n | tail -$maxposts }