Re: Weird behaviour with Script files



Markku Kolkka wrote:
Steve wrote:
When I tried to start on my CentOS machine, a script file, I have the
answer : Bad Interepreter !! !??!?!

Any idea what it could it be ?

Your script file has DOS/Windows style line feeds instead of Linux/Unix
ones.


Sorry Ynotssor, I see what I did wrong. I think that I was not really
woken up :-( Sorry again. But be sure that I didn't want you to guess...
I din't want to bother you with my answer...

Yes Markku, you were right. I re-write my script from Scratch (avoiding
"copy/paste" wiht tmy 'linux' editor and now that works..
I don't know how my script could change (one of them is my /etc/rc.d
local...)
But that works now..

Thanks
.



Relevant Pages

  • RE: setuid question
    ... write a c program to run that script, ... What files honor the setuid bit? ... On Behalf Of Markku Kolkka ... of 4755 whose owner is root and group is root. ...
    (Fedora)
  • Re: Why data could not be committed into table?
    ... I ran your repro script to recreate the tables and fill them ... select * from Feeds ... The data in markets and marketdef remained unchanged throughout the ... tables and execute the exact same update statement. ...
    (microsoft.public.sqlserver.programming)
  • FW: Google Reader "preview" and "lens" script improper feed validation
    ... Google Reader "preview" and "lens" script improper feed validation ... contents of only those feeds to which an authenticated user has subscribed ...
    (Vuln-Dev)
  • Unicode characters, XML/RSS
    ... So I wrote a little video podcast downloading script that checks a ... list of RSS feeds and downloads any new videos. ... it find a character that is out of the 128 range in the feed and my ...
    (comp.lang.python)
  • Re: xml parsing script dying with "Premature end of script headers" error
    ... feeds and return relevant results to a database. ... The script has worked well for a couple of years, despite having very crude error-trapping (if it finds an error in one of the xml files, the script stops). ... You should not parse your RSS data until you're finished collecting all the data. ...
    (comp.lang.php)