Bash How To Use A Parameter In A Function