Annotation of parser3/tests/286.html, revision 1.4
1.1 moko 1: @main[]
2:
1.4 ! moko 3: $script[./cat^os[-windows].sh]
! 4:
! 5: $ft[^file::exec[$script; $.stdin[test^#0D^#0A] ;stdin]]
1.3 moko 6: ft:^json:string[$fb; $.file[text] ]
1.1 moko 7:
8: $f1[^file::create[$ft; $.mode[binary] ]]
1.3 moko 9: f1:^json:string[$f1; $.file[text] ]
1.1 moko 10:
1.4 ! moko 11: $fb[^file::exec[binary;$script; $.stdin[test^#0D^#0A] ;stdin]]
1.3 moko 12: fb:^json:string[$fb; $.file[text] ]
1.1 moko 13:
14: $f2[^file::create[$fb; $.mode[text] ]]
1.3 moko 15: f2:^json:string[$f2; $.file[text] ]
1.1 moko 16:
1.2 moko 17: $f3[^file::create[$fb; $.content-type[my/format] ]]
1.1 moko 18: f3:^json:string[$f3]
19:
20: $f4[^file::create[$f3; $.name[test.gif] ]]
21: f4:^json:string[$f4]
22:
1.2 moko 23: $f5[^file::create[$f4; $.mode[text] ]]
24: f5:^json:string[$f5]
25:
26: $f6[^file::create[$f5; $.mode[binary] $.name[test2.gif] $.content-type[image/gif] ]]
27: f6:^json:string[$f6]
28:
E-mail: