Result

WA

Duration

949ms

Code [DL]

set IFS
while read {a..f}
[ $b = $c ]&&echo $b||echo $e
end

stdin

434 231
811 811
151 553
249 351
725 443
778 781
883 332
911 823
756 375
321 153
235 576
266 966
147 225
266 668
833 382
288 667
595 956
977 197
575 848
168 642
144 455
315 511
397 998
756 261
289 983
247 778
822 661
433 332
796 761
523 245
993 591
251 954

stdout

stderr

read: Variable name '{a..f}' is not valid. See `help identifiers`.

/code.fish (line 2): 
while read {a..f}
      ^

(Type 'help read' for related documentation)

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc90fd6170 /* 9 vars */) = 0
12    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x556fa8071d18 /* 9 vars */) = 0
12    +++ exited with 0 +++
11    --- 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/cp", ["cp", "-f", "/volume/CODE", "/opt/jails/fish-shell-pure/code."...], 0x556fa8071d68 /* 9 vars */) = 0
13    +++ exited with 0 +++
11    --- 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("/bin/cat", ["cat", "-"], 0x556fa86770e0 /* 9 vars */) = 0
15    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/fish-shell-pure", "-x", "/bin/fish", "/code.fish"], 0x556fa86771b0 /* 9 vars */ <unfinished ...>
14    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    <... execve resumed>)             = 0
15    execve("/bin/fish", ["/bin/fish", "/code.fish"], 0x7fff1986cc20 /* 9 vars */) = 0
15    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=3} ---
16    execve("/bin/rm", ["rm", "/opt/jails/fish-shell-pure/code."...], 0x556fa8071cc8 /* 9 vars */) = 0
16    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
11    +++ exited with 0 +++