David Korn wrote:
> 
> cc: [EMAIL PROTECTED]
> Subject: Re: [ast-developers] How do I merge two compound variables ?
> --------
> 
> > Originally I assumed I could use the "+=" operator somehow (e.g. $
> > res+=c1 ; res+=c2 #) to append compound variable elements but íseems
> > this doesn't work... ;-(
> 
> I think that
>         eval res+="${c1}"
>         eval res+="${c2}"
> should work.  However, there should be a way to do this without
> the eval.
> 
> If I make
>         x=y
> work for compound variables, then I should be able to
> also do
>         x+=y
> as well.

Seems to be working Ok in ast-ksh.2008-11-04 ...
... Thanks! :-)

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to