IOhannes m zmoelnig wrote:
Rob Canning wrote:
hello IEMers!
which default shell are you using? (do "ls -l /bin/sh")
just in case it is _not_ bash, change the first line of CUBEmixer.sh to "#!/bin/bash"
Hi IOhannes, It is bash
lrwxrwxrwx 1 root root 4 2008-04-03 19:13 /bin/sh -> bash
if i change line one to "#!/bin/bash" i get :
bash: ./CUBEmixer.sh: /bin/bash^M: bad interpreter: No such file or directory
i get the same error if i simply type ./CUBEmixer.sh witht the first line as "#!/bin/sh"
if i type either "sh CUBEmixer.sh" or "bash CUBEmixer.sh" i get
rob@shuttle:~/CUBEmixer/bin$ bash CUBEmixer.sh
: command not found2:
: command not found3:
: command not found4:
'UBEmixer.sh: line 11: syntax error near unexpected token { 'UBEmixer.sh: line 11:
function test_pd() {
thanks
rob c