From dc980b4d12e3ad4f2421e09db6acd4ce83132dec Mon Sep 17 00:00:00 2001 From: hackbard Date: Mon, 17 Aug 2009 15:59:13 +0200 Subject: [PATCH] a modified posselt variation + the right one commented --- calc_delta_e | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calc_delta_e b/calc_delta_e index 6a97cc5..2b4130e 100755 --- a/calc_delta_e +++ b/calc_delta_e @@ -20,5 +20,6 @@ echo "-------------------------------------------------------------------------" echo "$si_cnt $c_cnt $e1 $e0" | \ awk '{ print " Gao: "($3-$4)*($1+$2) }' echo "$si_cnt $c_cnt $musi $muc $e1 $music" | \ - awk '{ print " Posselt: "$5*($1+$2)-0.5*($1+$2)*$6-0.5*($1-$2)*($3-$4) }' + #awk '{ print " Posselt: "$5*($1+$2)-0.5*($1+$2)*$6-0.5*($1-$2)*($3-$4) }' + awk '{ print " Posselt: "$5*($1+$2)-$1*$3-$2*$4) }' -- 2.39.2