Rev 12219 | Rev 15418 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | #! /bin/sh |
2 | |||
877 | guerimand | 3 | log_dir=$w_wims_home/log/classes/$w_wims_class; |
4 | cat $log_dir/score/$w_getraw $log_dir/noscore/$w_getraw 2>/dev/null | sort >$session_dir/user.getraw; |
||
23 | reyssat | 5 | |
6 | if [ ! -s "$session_dir/user.getraw" ]; then |
||
7 | echo "No work has been done by this participant up to now." |
||
8 | exit |
||
9 | fi |
||
877 | guerimand | 10 | if [ "$w_test" = "no" ]; then |
14880 | guerimand | 11 | echo " Date.Hour session sheet exo Requete Seed Statut" |
877 | guerimand | 12 | echo "------------------------------------------------------------" |
14880 | guerimand | 13 | cat $session_dir/user.getraw | cut -d" " -f1,3,4 ; |
877 | guerimand | 14 | else |
12207 | bpr | 15 | if [ "$w_wims_user" = "supervisor" ]; then |
14880 | guerimand | 16 | echo " Date.Hour session sheet exo Requete IP Seed Statut" |
17 | echo "------------------------------------------------------------" |
||
12207 | bpr | 18 | cat $session_dir/user.getraw | cut -d" " -f1,2,3,4 ; |
19 | else |
||
14880 | guerimand | 20 | echo " Date.Hour session sheet exo Requete IP Statut" |
21 | echo "------------------------------------------------------------" |
||
12219 | bpr | 22 | cat $session_dir/user.getraw | cut -d" " -f1,2,4 ; |
12207 | bpr | 23 | fi; |
877 | guerimand | 24 | fi; |
23 | reyssat | 25 | |
12219 | bpr | 26 | ## 2:IP, 3:seed, 4:status |