Getting bad interpreter error

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bill Jonas
Date:  
Subject: Getting bad interpreter error
--MlJ6mS4HGnm+jrmh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
Bill Jonas    *        *    http://www.billjonas.com/


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

--MlJ6mS4HGnm+jrmh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE993e6dmHcUxFvDL0RAinzAJ9KWNbOtFol14fGXua3YlnmFkbjqQCeNwo0
eyguS22eT59kwRF9wA1BDew=
=82qs
-----END PGP SIGNATURE-----

--MlJ6mS4HGnm+jrmh--