Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2008 13:20:31 +0530
From:      "N. Raghavendra" <raghu@mri.ernet.in>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to divide up?
Message-ID:  <86y73x9epk.fsf@riemann.mri.ernet.in>
In-Reply-To: <20080720002345.GA9173@thought.org> (Gary Kline's message of "Sat, 19 Jul 2008 17:23:48 -0700")
References:  <20080720002345.GA9173@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 2008-07-19T17:23:48-07:00, Gary Kline wrote:

> 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 special database, not html .
>
> is there some clever perl one-liner ...

I suggest that instead of such ad hoc solutions, you checkout the port
`www/tidy'.  It provides a reasonable pretty printer for HTML.
However, it doesn't print every tag on a separate line.  I think its
behaviour in this respect is close to the style guidelines in the
FreeBSD Documentation Project Primer [10.1.4.2, Separating tags].

Raghavendra.

-- 
N. Raghavendra <raghu@mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y73x9epk.fsf>