Getting bad interpreter error

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
Subject: Getting bad interpreter error
dos2unix will do the same.



On Wed, 11 Dec 2002, 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    *        *    http://www.billjonas.com/

>
> SysAdmin/Developer/Tech for hire! http://www.billjonas.com/resume.html
>