Re: "here strings" and tmpfiles

2019-03-24 Thread konsolebox
On Tue, Mar 19, 2019, 9:36 PM Greg Wooledge wrote: > On Tue, Mar 19, 2019 at 09:20:33AM -0400, Daniel Kahn Gillmor wrote: > > On Tue 2019-03-19 08:25:50 -0400, Greg Wooledge wrote: > > > On Mon, Mar 18, 2019 at 05:18:10PM -0400, Daniel Kahn Gillmor wrote: > > >> strace -o

Re: wait -n shouldn't collect multiple processes

2019-03-24 Thread Ben Elliston
On Sun, Mar 24, 2019 at 11:29:41AM -0400, Chet Ramey wrote: > > My goal is to run a small process pool where upon one process > > completes, another one is started immediately. If I start (say) 10 > > processes and then wait on the first, I may have chosen the longest > > running process. > >

Re: wait -n shouldn't collect multiple processes

2019-03-24 Thread Chet Ramey
On 3/23/19 12:31 PM, Robert Elz wrote: > | If you want to associated an exit status with a process, changing wait -n > | wouldn't make a difference. > > It does when you add the "-p var" option, which returns the pid of the > process (job) that exited as $var If I add that, I might change

Re: wait -n shouldn't collect multiple processes

2019-03-24 Thread Chet Ramey
On 3/23/19 5:15 PM, Ben Elliston wrote: > On Sat, Mar 23, 2019 at 11:48:33AM -0400, Chet Ramey wrote: > >> What's your goal here? If you want to associate an exit status with >> a process, you're going to have to save $! and wait for each process >> in turn. > > My goal is to run a small process

Re: Typo in Bash Manual

2019-03-24 Thread Chet Ramey
On 3/23/19 2:54 PM, Craig Miles wrote: > Hi all: > > There's some inadvertently repeated text in doc/bashref.info which is > propagating into all manuals generated therefrom. Lines 1900 and 1901 in > the v5.0 version. Thanks for the report. This was fixed in the devel branch about two months