b18eb27f3dd7e5470ab93353fb179730ce1eb75e kuhn Tue Dec 14 15:21:30 2021 -0800 fixed file name per hiram suggestion diff --git src/utils/qa/whoMadeIt.csh src/utils/qa/whoMadeIt.csh index 60b7205..36f1ef6 100755 --- src/utils/qa/whoMadeIt.csh +++ src/utils/qa/whoMadeIt.csh @@ -118,31 +118,31 @@ echo else exit endif if ( -e grandTotFile$$ ) then # get list of names set nameList=`cat grandTotFile$$ | awk '{print $2"_"$3}' | sort -u` # echo nameList $nameList rm -f finFile$$ foreach person ( $nameList ) set name=`echo $person | sed "s/_/ /"` cat grandTotFile$$ | grep "$name" \ | awk '{total+=$1} END {print total, $2, $3}' >> finFile$$ end - set totsize=`cat finFile | grep -v "Not Committed" \ + set totsize=`cat finFile$$ | grep -v "Not Committed" \ | awk '{total+=$1} END {print total, $2, $3}'` cat finFile$$ | grep -v "Not Committed" | sort -nr \ | awk '{print $1, $2, $3}' | sed "s/ /_/" \ | awk -F"_" '{printf("%7s %-10s\n", $1, $2 )}' echo "-----" "-----" | awk '{printf("%7s %-10s\n", $1, $2)}' echo $totsize | awk '{printf("%7s\n", $1)}' endif rm -f grandTotFile$$ rm -f finFile$$ echo exit cleanup: rm -f temp$$