Improving the manual (was: ${!vname} not documented)

2009-10-07 Thread Thomas Schwinge
Hello! On Tue, Oct 06, 2009 at 08:16:03AM -0400, Greg Wooledge wrote: > On Tue, Oct 06, 2009 at 03:25:31AM -0400, Mike Frysinger wrote: > > i imagine Chet takes patches > > When I sent a patch to make the manual more human-friendly (replacing > for example ! with $! so that people can search for

Re: ${!vname} not documented

2009-10-06 Thread Chet Ramey
> > It would be more obvious if it had a paragraph directly below > > ${parameter} saying something like: > > > >${!name} > >Indirect expansion. name is expanded to produce the name of a > > variable to expand. > > i imagine Chet takes patches I do, but the proposed text is misl

Re: ${!vname} not documented

2009-10-06 Thread Greg Wooledge
On Tue, Oct 06, 2009 at 03:25:31AM -0400, Mike Frysinger wrote: > On Tuesday 06 October 2009 01:39:56 Mikel Ward wrote: > > It would be more obvious if it had a paragraph directly below > > ${parameter} saying something like: > > > >${!name} > >Indirect expansion. name is expanded

Re: ${!vname} not documented

2009-10-06 Thread Mike Frysinger
On Tuesday 06 October 2009 01:39:56 Mikel Ward wrote: > Mike Frysinger wrote: > > Mikel Ward wrote: > > > I was unfamiliar with ${!VAR}. As far as I can tell, it's not > > > documented in the man page or the info pages. > > > > either your documentation is out of date (old bash install) or you jus

Re: ${!vname} not documented

2009-10-05 Thread Mikel Ward
Mike Frysinger wrote: > Mikel Ward wrote: > > I was unfamiliar with ${!VAR}. As far as I can tell, it's not documented > > in the man page or the info pages. > > either your documentation is out of date (old bash install) or you just > missed > it. it's under Parameter Expansion. > -mike Ah,

Re: ${!vname} not documented

2009-10-05 Thread Mike Frysinger
On Monday 05 October 2009 23:05:41 Mikel Ward wrote: > I was unfamiliar with ${!VAR}. As far as I can tell, it's not documented > in the man page or the info pages. either your documentation is out of date (old bash install) or you just missed it. it's under Parameter Expansion. -mike signat

${!vname} not documented

2009-10-05 Thread Mikel Ward
Hi I came across a script that did $ VARIABLE1=value1 $ VARIABLE2=value2 $ for VAR in VARIABLE1 VARIABLE2 > do > echo ${VAR}=${!VAR} > done VARIABLE1=value1 VARIABLE2=value2 I was unfamiliar with ${!VAR}. As far as I can tell, it's not documented in the man page or the info pages. I assume it