Annotation of parser3/tests/370.html, revision 1.2

1.1       moko        1: @main[]
                      2: 
1.2     ! moko        3: $script[./cat^os[-windows].sh]
        !             4: 
1.1       moko        5: $f[^file::load[binary;370.dat]]
                      6: 
1.2     ! moko        7: $fb[^file::exec[binary;$script; $.stdin[$f] ;stdin]]
1.1       moko        8: 
                      9: binary with first 0x00 byte:^json:string[$fb; $.file[base64] ]
                     10: 
                     11: $f[^file::create[text;sample.txt;АБВ]]
                     12: 
1.2     ! moko       13: $ft[^file::exec[$script; $.stdin[$f] $.charset[windows-1251] ;stdin]]
1.1       moko       14: text stdin (input converted, output converted back): $ft.text
                     15: 
                     16: $f[^file::create[binary;sample.txt;АБВ]]
                     17: 
1.2     ! moko       18: $ft[^file::exec[$script; $.stdin[$f] $.charset[windows-1251] ;stdin]]
1.1       moko       19: binary stdin (input not converted, output converted win->utf): $ft.text
                     20: 
1.2     ! moko       21: $ft[^file::exec[binary;$script; $.stdin[$f] $.charset[windows-1251] ;stdin]]
1.1       moko       22: binary exec + binary stdin (input not converted, output not converted): $ft.text

E-mail: