Simplify namespace spec with bash var