From owner-freebsd-questions@FreeBSD.ORG Sun Jul 20 09:55:32 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4DE106566C for ; Sun, 20 Jul 2008 09:55:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 697FC8FC19 for ; Sun, 20 Jul 2008 09:55:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m6K9tYZK033412; Sun, 20 Jul 2008 02:55:40 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 20 Jul 2008 02:55:31 -0700 (PDT) Date: Sun, 20 Jul 2008 02:55:25 -0700 From: Gary Kline To: "N. Raghavendra" Message-ID: <20080720095525.GB29612@thought.org> References: <20080720002345.GA9173@thought.org> <86y73x9epk.fsf@riemann.mri.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86y73x9epk.fsf@riemann.mri.ernet.in> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21++ years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: How to divide up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 09:55:32 -0000 On Sun, Jul 20, 2008 at 01:20:31PM +0530, N. Raghavendra wrote: > 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 obsessive [[?, :)]], 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. > Thanks, but I've very recently become acquainted with tidy and have begun using it on my main index.php--thought.org's "www" page. This page was an almost unreadable rat's net of by-hand coded html. (as i move toward another mark-up standard.) using your script, or mine, based on Roland smith's, will be a great help. I knew there were ways of embedding \n's in scripts and signatures, &c, but until your posting, i had forgoooten exactly how. thank you for the refresher! I'll check the FBSD Docs for `Separating Tags'; that level of obscurity is beyond amazing, :-) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org