In attempting to use GNU parallel, with some bash scripts, I discovered I had a problem with tempfile collisions due to all of the thread having the same PID.
I was able to come up with a workaround, but... RFE: bash should have a TID varuable that returns the vakue of gettid(2). If the bash devs are too busy for this like the idea, I could write the patch. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> During waves of terror attacks, Israel's national police chief will call on all concealed-handgun permit holders to make sure they carry firearms at all times, and Israelis have many examples where concealed permit holders have saved lives. -- John R. Lott