From owner-cvs-all Fri Apr 3 00:38:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22704 for cvs-all-outgoing; Fri, 3 Apr 1998 00:38:16 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from tyree.iii.co.uk (tyree.iii.co.uk [195.89.149.230]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22697 for ; Fri, 3 Apr 1998 00:38:12 -0800 (PST) (envelope-from nik@iii.co.uk) From: nik@iii.co.uk Received: from carrig.strand.iii.co.uk (carrig.strand.iii.co.uk [192.168.7.25]) by tyree.iii.co.uk (8.8.8/8.8.8) with ESMTP id JAA15313; Fri, 3 Apr 1998 09:38:11 +0100 (BST) Received: (from nik@localhost) by carrig.strand.iii.co.uk (8.8.8/8.8.7) id JAA05655; Fri, 3 Apr 1998 09:37:52 +0100 (BST) Message-ID: <19980403093751.20237@iii.co.uk> Date: Fri, 3 Apr 1998 09:37:51 +0100 To: Ollivier Robert Cc: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: doc/en/handbook handbook.sgml README References: <199804011825.KAA09382@freefall.freebsd.org> <19980402002852.B25718@keltia.freenix.fr> <19980402014605.25591@follo.net> <19980402081243.A29533@keltia.freenix.fr> <19980402093140.32383@iii.co.uk> <19980402211908.A3151@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85e In-Reply-To: <19980402211908.A3151@keltia.freenix.fr>; from Ollivier Robert on Thu, Apr 02, 1998 at 09:19:08PM +0200 Organization: interactive investor Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, Apr 02, 1998 at 09:19:08PM +0200, Ollivier Robert wrote: > According to nik@iii.co.uk: > > Could you take a look > > which is one mechanism to work around this problem. It's not pretty (in > > particular, spawning a copy of Perl for each file to convert is not too > > friendly) but it works. > > I just took a fast look at it and I think you can do it in awk (which would > be faster)... Very probably. Unfortunately, that part of my Unix education was very poor :-) and I went straight from "Shell scripting 101" to "Perl for masochistic system administrators", completely skipping the "Awk! I've dropped that book on my foot again." course. Improved code welcome. Hmm. Thinking about it, I wonder if this is the sort of thing that can be encoded in /etc/magic (or /usr/share/misc/magic)? I don't think the format's flexible enough, but I could be wrong. N -- Work: nik@iii.co.uk | FreeBSD + Perl + Apache Rest: nik@nothing-going-on.demon.co.uk | Remind me again why we need Play: nik@freebsd.org | Microsoft? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message