Add post array in bash