Result

WA

Duration

826ms

Code [DL]

for i in 1 2 3; do\
  echo $$i;\
done

stdin

722 223
348 793
572 839
817 126
873 578
988 772
344 644
973 535
316 374
692 994
877 994
296 696
584 336
187 875
979 747
388 584
789 289
432 629
125 256
282 772
297 223
755 535
575 558
933 155
259 553
922 633
141 114
894 451
599 921
277 776
421 123
936 622

stdout

*
! Emergency stop.
<*> code.tex

stderr

rm: cannot remove 'code.dvi': No such file or directory

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe1c219860 /* 6 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x555c7c164be0 /* 6 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    execve("/bin/cat", ["cat", "-", "/volume/CODE"], 0x555c7db475d0 /* 6 vars */) = 0
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/local/texlive/2020/bin/x86_64-linux/tex", ["/usr/local/texlive/2020/bin/x86_"..., "code.tex"], 0x555c7db47868 /* 7 vars */ <unfinished ...>
15    execve("/bin/sed", ["sed", "-e", "1,2d"], 0x555c7db47898 /* 7 vars */) = 0
16    execve("/bin/sed", ["sed", "-e", "$d"], 0x555c7db47898 /* 7 vars */ <unfinished ...>
18    execve("/bin/sed", ["sed", "-e", "$d"], 0x555c7db47898 /* 7 vars */ <unfinished ...>
16    <... execve resumed> )            = 0
17    execve("/bin/sed", ["sed", "-e", "$d"], 0x555c7db47898 /* 7 vars */ <unfinished ...>
18    <... execve resumed> )            = 0
17    <... execve resumed> )            = 0
14    <... execve resumed> )            = 0
14    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19    execve("/bin/rm", ["rm", "code.log"], 0x555c7c164b78 /* 7 vars */) = 0
19    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
20    execve("/bin/rm", ["rm", "code.dvi"], 0x555c7c164b78 /* 7 vars */) = 0
20    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
21    execve("/bin/rm", ["rm", "code.tex"], 0x555c7c164b78 /* 7 vars */) = 0
21    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
22    execve("/bin/rm", ["rm", "stdin.tex"], 0x555c7c164b78 /* 7 vars */) = 0
22    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++