Re: cd's Extraneous Arguments.

2016-04-16 Thread Ralph Corderoy
Hi Chet, > > `cd foo bar xyzzy' changes directory to foo, complaining if it > > doesn't exist. It doesn't complain about the unwanted extra > > arguments. This can cause problems; `cd *04' ends up in 2015-04, > > not 2016-04. > > If you want this behavior, you can build bash with CD_COMPLAINS >

[patch] /* XXX - possibly run Coproc->name through word expansion? */

2016-04-16 Thread Piotr Grzybowski
Hi, for some time I wanted to do: WORKERS_COUNT=8; for((i=0;i<${WORKERS_COUNT};i++)); do coproc worker$i { worker_code; }; done; and since lately I got an actual real, production, case where I had to run given number of workers and issue jobs for them (exactly: run N encoders in M co-processe