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: redirection after braced block

2009-10-06 Thread Marc Herbert
Greg Wooledge a écrit : > On Mon, Oct 05, 2009 at 07:55:33PM +0200, clemens fischer wrote: { ... a number of commands } 2>&1 | ${prog_log} "${logfile}" > > If you're having trouble debugging your script, and you want to be > absolutely sure whether the commands in the bra

Re: preventing pipe reader from existing on writer exiting

2009-10-06 Thread Marc Herbert
Brian J. Murrell a écrit : > > Can anyone help? Ultimately I need to do I/O through a named pipe and I > need to be able to restart the writer without restarting the reader. Have a look at socat. It solved all my FIFO problems.

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 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