Eric Blake wrote: > This is to be expected - POSIX states that $$ is special, and that in a > subshell, it is not the pid of the current process, but the pid of the > original process. > http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_05_02
Thanks! I wasn't aware of that. Bruno