learn bash dynamic variable with condition

i'm make file .sh