Reconstruct bash variable names