Brian Ashe wrote:
Im getting an error when running a script

: bad interpreter: No such file or directory

If you ever see that in the shell, it means that the script you're running has DOS linefeeds in it. Use either "dos2unix" or "tr -d '\n' < oldfile > newfile" to remove them.

<snip>


Try it with a "tr -d '\r' oldfile > newfile". Unix uses Line feeds not carriage returns.


Yeah... that'd certainly make a difference. My mistake :)



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to