[ GSOC ] Differences in shell behaviour

Alexander Pyhalov alp at rsu.ru
Mon Jun 4 05:26:53 UTC 2012


Hello.

On 06/01/2012 19:07, Jilles Tjoelker wrote:

> If you do your experiments using scripts instead of in interactive mode,
> they should work in 8.x as well as in 9.x.
>

Thank you for clarification. Yes, it works as expected in scripts on 8.3 
and 7.4:

 > cat 1.sh
#!/bin/sh
false & pid=$!

echo "I forgot about child"
sleep 3

wait $pid
echo $?

 > sh 1.sh
I forgot about child
1


-- 
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University


More information about the freebsd-ports mailing list