Re: regex confusion -- not matching; think it should?

2013-06-19 Thread Dan Douglas
On Wednesday, June 19, 2013 12:29:55 PM DJ Mills wrote: > On Wed, Jun 12, 2013 at 6:53 PM, Linda Walsh wrote: > > > The trace looks aprolike this: > > > >> ./ifc#137(handle_bonding_ops)> (( 18>3 )) > >>> ./ifc#138(handle_bonding_ops)> [[ mode=balance-rr 0 =~ > >>> > >> > >> ^([a-zA-Z][-a-zA

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread Linda Walsh
DJ Mills wrote: On Wed, Jun 12, 2013 at 6:53 PM, Linda Walsh > wrote: The trace looks aprolike this: ./ifc#137(handle_bonding_ops)> (( 18>3 )) ./ifc#138(handle_bonding_ops)> [[ mode=balance-rr 0 =~ ^([a-zA-Z][-a-zA-Z0-9_]+)=(.+)

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread DJ Mills
On Wed, Jun 19, 2013 at 12:56 PM, Chris Down wrote: > On 20 June 2013 00:43, Greg Wooledge wrote: > > On Thu, Jun 20, 2013 at 12:39:56AM +0800, Chris Down wrote: > >> On 20 June 2013 00:29, DJ Mills wrote: > >> > wordsplitting and pathname expansion do not occur within the > >> > [[ keyword. >

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread Chris Down
On 20 June 2013 00:43, Greg Wooledge wrote: > On Thu, Jun 20, 2013 at 12:39:56AM +0800, Chris Down wrote: >> On 20 June 2013 00:29, DJ Mills wrote: >> > wordsplitting and pathname expansion do not occur within the >> > [[ keyword. >> >> $ > foo >> $ [[ foo == * ]] && echo bar >> bar > > That's pa

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread Greg Wooledge
On Thu, Jun 20, 2013 at 12:39:56AM +0800, Chris Down wrote: > On 20 June 2013 00:29, DJ Mills wrote: > > wordsplitting and pathname expansion do not occur within the > > [[ keyword. > > $ > foo > $ [[ foo == * ]] && echo bar > bar That's pattern matching, which is neither word splitting nor path

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread Chris Down
On 20 June 2013 00:29, DJ Mills wrote: > wordsplitting and pathname expansion do not occur within the > [[ keyword. $ > foo $ [[ foo == * ]] && echo bar bar

Re: regex confusion -- not matching; think it should?

2013-06-19 Thread DJ Mills
On Wed, Jun 12, 2013 at 6:53 PM, Linda Walsh wrote: > The trace looks aprolike this: > >> ./ifc#137(handle_bonding_ops)> (( 18>3 )) >>> ./ifc#138(handle_bonding_ops)> [[ mode=balance-rr 0 =~ >>> >> >> ^([a-zA-Z][-a-zA-Z0-9_]+)=(.+)**[[:space:]]+[a-zA-Z][-a-zA-Z0-**9_]+=.+.*$ > ]] > >> ./ifc

Re: Missing "#if defined (JOB_CONTROL)" line in execute_cmd.c.

2013-06-19 Thread DJ Mills
On Mon, Jun 17, 2013 at 11:53 AM, Brooks Moses wrote: > > (When is bash 4.3 expected?) > > - Brooks > > Whenever it's ready.