summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2014-10-29 00:20:41 -0400
committerstanley lieber <stanley.lieber@gmail.com>2014-10-29 00:20:41 -0400
commit678db0fbb1c201417047c7f4a33609549ab54ffe (patch)
tree5e4ff3b13f6f2af52755b4d068f62d8295e4cc07
parente02e4045f2cbdf212fe47534a3302a76f976c322 (diff)
downloadplan9front-678db0fbb1c201417047c7f4a33609549ab54ffe.tar.xz
newt: delete lines
-rwxr-xr-xrc/bin/newt5
1 files changed, 1 insertions, 4 deletions
diff --git a/rc/bin/newt b/rc/bin/newt
index 26f0f8e8c..5bee96080 100755
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -301,12 +301,9 @@ while(){
echo post: $post
echo r: $r
case *
- if(~ $post $posts(1) && ~ $#go 0){
- go=1
+ if(~ $post $posts(1) && ~ $#go 0)
p $post
- }
if not if(! ~ $post $posts($#posts)){
- go=1
post=`{echo $post^+1 | bc}
if(test $post -gt $posts($#posts))
post=$posts($#posts)