aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/bin/plusminus
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2010-01-05 17:50:51 +0000
committerN.N. <matju@users.sourceforge.net>2010-01-05 17:50:51 +0000
commit39ba8a640bd178fd732d945760df7eef3e2c1e1a (patch)
treeb59fa5bc00fcbb6389ea3ebf2c7ee8b9ced1daa8 /externals/gridflow/bin/plusminus
parent8cabe6dabadf2422240ff4e9d5f5f8c95622b682 (diff)
no gridflow snapshots in pure-data svn
svn path=/trunk/; revision=12888
Diffstat (limited to 'externals/gridflow/bin/plusminus')
-rwxr-xr-xexternals/gridflow/bin/plusminus39
1 files changed, 0 insertions, 39 deletions
diff --git a/externals/gridflow/bin/plusminus b/externals/gridflow/bin/plusminus
deleted file mode 100755
index 36f268f5..00000000
--- a/externals/gridflow/bin/plusminus
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env ruby
-# NOTE: this works with svn diff -u only!!!
-
-puts "-"*72
-
-$plustot=0
-$minustot=0
-
-def show
- printf "%40s %+5d %+5d (net %+5d)\n", $file, $plus, -$minus, $plus-$minus
-end
-
-loop{
- line = gets
- break if not line
- if /^\+\+\+/.match line then
- x = line.split(/\s+/)
- $plustot+=$plus if $plus
- $minustot+=$minus if $minus
- show if $file
- $file = x[1]
- $on=false
- $plus=0
- $minus=0
- elsif /^\@\@/ =~ line then $on=true
- elsif $on and /^\+/ =~ line and /^\-\-\-/ != line then $plus+=1
- elsif $on and /^\-/ =~ line and /^\+\+\+/ != line then $minus+=1
- end
-}
-
-$plustot+=$plus if $plus
-$minustot+=$minus if $minus
-show if $file
-
-$file="total"
-$plus=$plustot
-$minus=$minustot
-puts "-"*72
-show