Date: Sun, 20 Jul 2008 02:45:51 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: How to divide up? Message-ID: <20080720004551.GA26045@slackbox.xs4all.nl> In-Reply-To: <20080720002345.GA9173@thought.org> References: <20080720002345.GA9173@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 19, 2008 at 05:23:48PM -0700, Gary Kline wrote: >=20 > Guys, >=20 > Is there an easyy way of splitting yp these tags into one-per-line? > I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and = stuff > would look better to my eyes? ....the outcome of this will go ino a spec= ial > database, not html . >=20 > is there some clever perl one-liner that would help me turn=20 >=20 > <CENTER><FONT face=3D"Times" size=3D"3"><FONT color=3D"#333366">Realizati= on<BR> >=20 > into >=20 > <CENTER> > <FONT face=3D"Times" size=3D"3"> > <FONT color=3D"#333366"> > Realization > <BR> > ?? >=20 Insert a newline in front of every < : gsed -e "s/</\n</g" <infile >outfile Note that this requires GNU sed. It won't work with BSD sed. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiCir8ACgkQEnfvsMMhpyX0gACfUvtJeiHhHUU1HXhx++gdNJI8 M2IAnAwQYmgvtuLpJvHVpATFU7u2h3Da =3X4g -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080720004551.GA26045>