Re: AIX and Interix also do early PID recycling.

2012-08-29 Thread Chet Ramey
On 8/29/12 10:06 AM, Michael Haubenwallner wrote: >> I prepared a patch which add configure option to enable and set the number >> of job exit statuses to remember. > > Why not simply use the static CHILD_MAX value instead? > Feels like this is what the spec means - and conforming kernels do not

Re: Special .rc file fails with message "bash: `rsync-nssh': not a valid identifier"

2012-08-29 Thread Chet Ramey
On 8/29/12 1:55 PM, r...@joker.sleazegate.com wrote: > Bash Version: 4.2 > Patch Level: 37 > Release Status: release > > Description: > I have been using this special .rc file for several years. It grows and > grows. The Fedora Core bash (bash-4.2.28-1.fc16.x86_64) > does not produce

Special .rc file fails with message "bash: `rsync-nssh': not a valid identifier"

2012-08-29 Thread root
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/lsd/Linux/

Re: bash does filename expansion when assigning to array member in compound form

2012-08-29 Thread Chet Ramey
> > > That means you can do things like > > > > > > [{0,1,2,3}]=foo > > > > > > to set the first four elements to the same value This does work, but only in this context. It's a hard sell to say that it should work when using compound assignments and not any other time. I'm inclined to either

Re: AIX and Interix also do early PID recycling.

2012-08-29 Thread Roman Rakus
On 08/29/2012 04:06 PM, Michael Haubenwallner wrote: On 08/28/2012 09:21 AM, Roman Rakus wrote: On 08/01/2012 03:13 PM, Chet Ramey wrote: On 7/30/12 10:41 AM, Roman Rakus wrote: Hmm... I don't know much about boundaries of maximum number of user processes. But anyway - do you think that (re)c

Re: AIX and Interix also do early PID recycling.

2012-08-29 Thread Michael Haubenwallner
On 08/28/2012 09:21 AM, Roman Rakus wrote: > On 08/01/2012 03:13 PM, Chet Ramey wrote: >> On 7/30/12 10:41 AM, Roman Rakus wrote: >> >>> Hmm... I don't know much about boundaries of maximum number of user >>> processes. But anyway - do you think that (re)changing js.c_childmax (when >>> `ulimit -u

Re: bash does filename expansion when assigning to array member in compound form

2012-08-29 Thread Dan Douglas
On Friday, August 24, 2012 09:38:44 AM you wrote: > On 8/22/12 8:58 PM, Chet Ramey wrote: > > > Then how about this: words inside a compound assignment statement that are > > recognized as assignment statements ([1]=foo) are expanded like assignment > > statements (no brace expansion, globbing, or