Getting bad interpreter error
mazdaracer
plug-discuss@lists.plug.phoenix.az.us
Wed, 11 Dec 2002 12:07:42 -0800
That was it!!!
Now I have to do that on a couple of other scripts!
Thank you all once again!!
pete
Bill Jonas wrote:
>
> On Wed, Dec 11, 2002 at 09:24:48AM -0800, mazdaracer wrote:
> > What do I run the file thru to ensure LF only vs CR-LF?
>
> tr -d '\r'
>
> As in,
>
> cp /etc/rc.d/rc.firewall-2.4 /etc/rc.d/rc.firewall-2.4.bak
> tr -d '\r' </etc/rc.d/rc.firewall-2.4.bak >/etc/rc.d/rc.firewall-2.4
>
> --
> Bill Jonas * bill@billjonas.com * http://www.billjonas.com/
>
> SysAdmin/Developer/Tech for hire! http://www.billjonas.com/resume.html
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature