bash syntax not working here