learn bash: dynamic variable with condition
Merge pull request #24 from a903s/master

learn bash dynamic variable with condition from a903s