kbochert wrote: > I must be blind!! > > I have 2 files (screen capture from pico) > > > GNU nano 1.3.12 File: tmp2 > > #!/usr/local/bin/python2.5 > > print "Hello" > > > > > GNU nano 1.3.12 File: tmp3 > > #!/usr/local/bin/python2.5 > > print "Hi!" > > > Both are executable: > > [EMAIL PROTECTED] public_html]# ls -l tmp* > -rwxr-xr-x 1 root root 493 Jan 11 21:37 tmp1 > -rwxr-xr-x 1 root root 43 Jan 11 21:41 tmp2 > -rwxr-xr-x 1 root root 43 Jan 11 21:39 tmp3 > > So why does only one work?? > > [EMAIL PROTECTED] public_html]# ./tmp2 > Hello > > [EMAIL PROTECTED] public_html]# ./tmp3 > -bash: ./tmp3: /usr/local/bin/python2.5^M: bad interpreter: No such > file or directory
There's an invisible character, CR - Carriage Return (denoted by ^M in vi), at the end of the tmp3 bash line. Try dos2unix. /L --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---