On Fri, 2008-04-11 at 15:46 +0100, Rob Canning wrote:
> 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
> 
> [EMAIL PROTECTED]:~/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() {

just a quick guess: 

could this be related to some newline/return character incompatibilities
between the file and the operating system?

it seems strange that the first 'C' of 'CUBEmixer.sh' seems to be eaten.

roman 




        
                
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to