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