shithub: riscv

Download patch

ref: e1b0ab17458d5dce5f228a6e6e231d8128db2e4b
parent: 6213e137ff2e0636284dc294017a39f916f1f3a9
author: stanley lieber <stanley.lieber@gmail.com>
date: Mon Oct 27 20:43:52 EDT 2014

newt: removed unused function

--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -24,14 +24,6 @@
 		cat /tmp/post >$mnt/$group/post
 }
 fn f { du -a $* | sed 's/^.*	//g' }
-fn flag{
-	if(~ $1 [\+][aDdfrSs] [-][aDdfrSs]){
-		if(test $2 -le $#rposts && test -f $rposts($2)^/flags)
-			echo $1 >$rposts($2)^/flags
-		if not
-			echo !address
-	}
-}
 fn fmtd{
 	date=`{cat}
 	if(! ~ $date(1) [0-9]*)