/[gzz]/gzz/Documentation/Manuscripts/ProcText/data/showdata.sh
ViewVC logotype

Diff of /gzz/Documentation/Manuscripts/ProcText/data/showdata.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jvk, Fri Oct 4 13:09:08 2002 UTC revision 1.2 by jvk, Mon Oct 7 12:43:23 2002 UTC
# Line 1  Line 1 
1  grep -B1 RT "$@" | perl -e 'while(<>){ @l0 = split; @l1 = split " ", scalar <>; print "$l0[7] $l0[9] $l1[9] $l1[11]\n"}'|tr -d :|sed -e 's/(Correct)/1/' -e 's/(Incorrect)/0/' | sed -e 's/-/-10/'|xgobi  {
2        # Learning phase
3        grep -A100 "Learning phase" "$@" |
4        grep Trial |
5        awk '{print ($8-110) " " $10 " -1000 -1" }'
6    
7        # Online test
8        grep -B1 RT "$@" |
9        perl -e 'while(<>){ @l0 = split; @l1 = split " ", scalar <>; print "$l0[7] $l0[9] $l1[9] $l1[11]\n"}' |
10        tr -d : |
11        sed -e 's/(Correct)/1/' -e 's/(Incorrect)/0/' |
12        sed -e 's/-/-10/'
13    } | xgobi

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26