From 0a6c3821493c046610dc3d2b17cd89d7d1c0de07 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Sat, 12 Aug 2017 21:34:30 +0100 Subject: verbose --- tools/control-machines.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/control-machines.sh b/tools/control-machines.sh index 34620a8..7f1ebe4 100644 --- a/tools/control-machines.sh +++ b/tools/control-machines.sh @@ -2,6 +2,7 @@ if [ "$1" == "users" ]; then for i in `ls runs-submitted*.txt`; do + [ "$2" == "verb" ] && echo "users checking $i" a="" cat $i | while read lin; do if [ "$a" == "" ]; then @@ -28,6 +29,7 @@ else done else for i in `ls runs-submitted*.txt`; do + [ "$2" == "verb" ] && echo "checking $i" cat $i|cut -d'-' -f1 |sort -u| while read lin; do q=`grep -c $lin runs-submitted*.txt | grep -v ":0$" | wc -l` if [ "$q" != "1" ]; then -- cgit v1.2.3