Robert Elz wrote: > I think a better question would be, which shell is being > used to run ./test0 & wait and ./test1 & wait. > > The implication is that it also is bash, but I doubt bash would > act as described.
Why do you need to "doubt" it, when you can just as easily test it? Also, if you notice there is a "#!/bin/bash" in each of the examples.