Getting bad interpreter error
Matt Alexander
plug-discuss@lists.plug.phoenix.az.us
Wed, 11 Dec 2002 09:42:40 -0800 (PST)
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 * bill@billjonas.com * http://www.billjonas.com/
>
> SysAdmin/Developer/Tech for hire! http://www.billjonas.com/resume.html
>