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