3 rm -rf solutions/mo* testing/mo*
5 for m in mo0{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15} mo1{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,99} ; do
6 u=`echo $m | sed 's/^mo099/00/;s/^mo199/39/;s/^mo0//;s/^mo10/2/;s/^mo11/3/;s/^/mo/'`
10 pushd tmp/grab >/dev/null
11 ssh root@$m 'cd /aux/mo/users/mo39/mo39 ; tar czf - .' | tar xzf -
13 if [ -d tmp/grab/.submit ] ; then
14 if [ -d solutions/$u ] ; then
17 cp -a tmp/grab/.submit solutions/$u
18 ( cd solutions/$u && ls )
23 bin/mo-ev-all fact power
24 bin/mo-score-hack --detail --html power fact >cycle.results.html
25 lynx -width 100 -dump cycle.results.html | sed '1,3d' >cycle.results.new
26 cat cycle.results.new | ssh root@mo101 'cat >/tmp/cycle.results.new && mv /tmp/cycle.results.new /tmp/cycle.results'
27 mv cycle.results.new cycle.results