diff --git a/contrib/scripts/readall.sh b/contrib/scripts/readall.sh new file mode 100755 index 00000000..ab409dd2 --- /dev/null +++ b/contrib/scripts/readall.sh @@ -0,0 +1,5 @@ +#!/bin/sh +for i in `echo "f" "$@"|nc localhost 8888|cut -d ' ' -f '1-2'|sed -e 's# #:#'`; do + ret=`echo "r -c" ${i%%:*} ${i##*:}|nc localhost 8888|head -n 1` + echo ${i%%:*} ${i##*:} "=" $ret +done