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