Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 1998 09:37:51 +0100
From:      nik@iii.co.uk
To:        Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: doc/en/handbook handbook.sgml README
Message-ID:  <19980403093751.20237@iii.co.uk>
In-Reply-To: <19980402211908.A3151@keltia.freenix.fr>; from Ollivier Robert on Thu, Apr 02, 1998 at 09:19:08PM %2B0200
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 02, 1998 at 09:19:08PM +0200, Ollivier Robert wrote:
> According to nik@iii.co.uk:
> > Could you take a look <URL:http://www.freebsd.org/cgi/query-pr.cgi?pr=5848>;
> > 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



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