5 SGCONFPATH="$BASEPATH/stg/projects/sgconf"
7 RES=`"$SGCONFPATH/sgconf" -s localhost -p 5555 -u admin -w 123456 --get-admins`
11 printf "Failed to get admins list. Result:\n$RES\n"
15 printf "Got admins list:\n"
23 LOGIN=`printf "$LINE" | grep login`
26 LOGINS="$LOGINS\n"`printf "$LOGIN" | cut -d: -f2 | sed -e 's/^ *//' -e 's/ *$//'`
31 printf "Logins:\n$LOGINS\n"
33 NUM=`printf "$LOGINS" | wc -l`
35 printf -- "--------\n$NUM\n\n"