Re: documentation for ${!prefix*} is misleading

2010-08-10 Thread Greg Wooledge
On Tue, Aug 10, 2010 at 04:50:48PM +0200, Andreas Schwab wrote: > There is no special behaviour of the * version. > > The quotes only make the difference of whether word > splitting can be applied on the expansion (if word splitting is > considered in the first place, which isn't in the case of a

Re: documentation for ${!prefix*} is misleading

2010-08-10 Thread Andreas Schwab
Greg Wooledge writes: > On Tue, Aug 10, 2010 at 04:15:30PM +0200, Andreas Schwab wrote: >> Greg Wooledge writes: >> >> > The 4.1 man page says: >> > >> > ${!prefix*} >> > ${!pre...@} >> >Names matching prefix. Expands to the names of variables whose >> >name

Re: documentation for ${!prefix*} is misleading

2010-08-10 Thread Greg Wooledge
On Tue, Aug 10, 2010 at 04:15:30PM +0200, Andreas Schwab wrote: > Greg Wooledge writes: > > > The 4.1 man page says: > > > > ${!prefix*} > > ${!pre...@} > >Names matching prefix. Expands to the names of variables whose > >names begin with prefix, separated by

Re: documentation for ${!prefix*} is misleading

2010-08-10 Thread Andreas Schwab
Greg Wooledge writes: > The 4.1 man page says: > > ${!prefix*} > ${!pre...@} >Names matching prefix. Expands to the names of variables whose >names begin with prefix, separated by the first character of the >IFS special variable. When @ is used an

documentation for ${!prefix*} is misleading

2010-08-10 Thread Greg Wooledge
The 4.1 man page says: ${!prefix*} ${!pre...@} Names matching prefix. Expands to the names of variables whose names begin with prefix, separated by the first character of the IFS special variable. When @ is used and the expansion appears wi