From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:53:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9595B16A4CE for ; Sun, 30 Nov 2003 18:53:04 -0800 (PST) Received: from morpheus.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8320943FDF for ; Sun, 30 Nov 2003 18:53:03 -0800 (PST) (envelope-from freebsd-questions@webteckies.org) Received: from sarevok.idg.nl (unknown [192.168.1.12]) by morpheus.webteckies.org (Postfix) with ESMTP id C104A107C6; Mon, 1 Dec 2003 03:49:43 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: freebsd-questions@freebsd.org Date: Mon, 1 Dec 2003 03:53:00 +0100 User-Agent: KMail/1.5.93 References: <20031201031602.GA80581@bsdjunky.homeunix.org> <20031130212913.1d7c0126.b_cassidy@bellsouth.net> <20031130213933.72712e71.b_cassidy@bellsouth.net> In-Reply-To: <20031130213933.72712e71.b_cassidy@bellsouth.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_N0qy/mC+XO8pdl4"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200312010353.01517.freebsd-questions@webteckies.org> cc: Bryan Cassidy Subject: Re: Remove ^M characters from xhtml file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 02:53:04 -0000 --Boundary-02=_N0qy/mC+XO8pdl4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 01 December 2003 04:39, Bryan Cassidy wrote: > Well, I take that back. It worked on 1 file and then ir started erasing > the contents of the file. > > On Sun, 30 Nov 2003 21:29:13 -0600 > > Bryan Cassidy wrote: > > Sorry about sending you a e-mail directly. The tr -d '/r' < name > > > Robin Schoonover wrote: > > > name). Also you can use the tr command (tr -d '\r' < name > Spot the difference. Another way: perl -pi.bak -e 's/\r$//' *.xhtml BTW: why is this even an issue that needs a solution? XHTML doesn't care on= e=20 way or the other, since all linear spacing is folded into one space. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20 00:15:33 CET 2003 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_N0qy/mC+XO8pdl4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/yq0NOv9JNmfFN5URAv/3AJ92MDTVv46CrK8GRF4vw/E2cuAKowCfTt3L 506DjQKIRlfU09SiB4OoJ3E= =N+lw -----END PGP SIGNATURE----- --Boundary-02=_N0qy/mC+XO8pdl4--