Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: "Eric S. Raymond" Newsgroups: gnu.bash.bug Subject: Re: Request For Enhancement - TID variable Date: Thu, 26 Dec 2019 14:54:27 -0500 Organization: Eric Conspiracy Secret Labs Lines: 20 Approved: bug-bash@gnu.org Message-ID: References: <20191226153751.587634704BBB@snark.thyrsus.com> <20191226195427.GB8608@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1577390072 9305 209.51.188.17 (26 Dec 2019 19:54:32 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Daniel Colascione Envelope-to: bug-bash@gnu.org Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 71.162.243.5 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20191226195427.GB8608@thyrsus.com> X-Mailman-Original-References: <20191226153751.587634704BBB@snark.thyrsus.com> Xref: csiph.com gnu.bash.bug:15786 Daniel Colascione : > Are you sure that'd help? Parallel runs bash in a bunch of subprocesses, so > looking at PID would suffice to distinguish jobs. Are you sure you weren't > seeing an invariant PID because you were letting the PID variable expansion > happen too early? The $$ is inside the script. I don't see how it could be later. Rerunning the command, I think I misinterprteted the error messages before. The script is a wrapper around another script that is calling svnadmin to create a Subversion repository. svnadmin doesn't like something about its calling context and is complaining that it can't write a directory atomically. Not bash's problem. Carry on! -- Eric S. Raymond