ash: redirection bug (temporary file reuse, race condition??)

Steffen Nurpmeso steffen at sdaoden.eu
Tue Jan 17 20:23:33 UTC 2023


Hello..

Steffen Nurpmeso wrote in
 <20230117185938.U5TC3%steffen at sdaoden.eu>:
 ...
 |  #?0|kent:tmp$ ./t2.sh
 |  inner shell has: 18587 18587
 |  outer shell has: 18587 18587
 |  x is 18587, job is 18588: 18588 18587
 |  #?0|kent:tmp$ ./t2.sh
 |  inner shell has: 18621 18621
 |  outer shell has: 18621 18621
 |  x is 18621, job is 18622:   PID  PGID
 ...

Forget about this please, bash shows the same problems, but
i still have not understood why.
(Has nothing to do with monitor mode.)

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


More information about the busybox mailing list