Re: Indirect access to variables, including arrays (was Re: Compare 2 arrays.)

2012-06-06 Thread Pierre Gaston
On Thu, Jun 7, 2012 at 6:07 AM, Linda Walsh wrote: > > > Greg Wooledge wrote: >> >> The only Bourne-family shell that can manipulate arrays whose names are >> passed to a function is ksh93, with its "nameref" command.  Bash has >> nothing analogous to that yet. > > = > > I don't unders

Indirect access to variables, including arrays (was Re: Compare 2 arrays.)

2012-06-06 Thread Linda Walsh
Greg Wooledge wrote: The only Bourne-family shell that can manipulate arrays whose names are passed to a function is ksh93, with its "nameref" command. Bash has nothing analogous to that yet. = I don't understand. Are you saying that ${!nameofvar} isnt' supported? I need a fun

Re: Incorrect mangling of multiline array assignment in history

2012-06-06 Thread Linda Walsh
Davide Brini wrote: Fix: No idea! Work-around: try setting shopt -s lithist

VMS port - Advice wanted for not having a fork() call.

2012-06-06 Thread John E. Malmberg
The existing port of Bash for VMS claims to be 1.4.8, which as near as I can tell must be based on 1.4.7, as I do not see a 1.4.8 in the download section. What they did to work around that VMS does not have a fork() call, is to: Make a copy of several global variables and structures. S