bash - change value in array -


i have problem change value in array. have several arrays: tab1, tab2.... etc. want change value in these arrays using 2 variable:

x=2 y=3 tab$y[$x]="#" 

it doesn't work. me?

eval friend:

eval tab$y[$x]="#" 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -