Hi,

as of dash 0.5.10, this script waits for the sleep to terminate before
executing the last line, which no other /bin/sh does.
dash 0.5.9.1 worked fine.


#!/bin/sh
sleep 3 &
echo first in main shell
( echo in subshell; )
echo back to main shell


Found by users of the Void Linux project:
https://github.com/voidlinux/void-packages/issues/14123

Thanks,
-- 
Leah Neukirchen  <l...@vuxu.org>  http://leah.zone
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to