can never get the bash syntax right