From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 22:34:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86CF516A400 for ; Thu, 27 Apr 2006 22:34:15 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6D943D45 for ; Thu, 27 Apr 2006 22:34:14 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.4/8.13.1) with ESMTP id k3RMY9lp003010; Thu, 27 Apr 2006 15:34:09 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.4/8.13.1/Submit) id k3RMY3hT003009; Thu, 27 Apr 2006 15:34:03 -0700 (PDT) (envelope-from kline) Date: Thu, 27 Apr 2006 15:34:02 -0700 From: Gary Kline To: Alex Zbyslaw Message-ID: <20060427223402.GB2601@thought.org> References: <20060427024158.GA71123@thought.org> <44508D31.4020402@dial.pipex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44508D31.4020402@dial.pipex.com> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19++ years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: scripting languages... 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: Thu, 27 Apr 2006 22:34:15 -0000 On Thu, Apr 27, 2006 at 10:21:53AM +0100, Alex Zbyslaw wrote: > Gary Kline wrote: > > > I am NOT trying to start any kind of flame debate, but would > > like to know what real advantage perl has over the newer > > so-called all-in-one language, ch. (Other than the obvious > > fact that there are literally billions of lines of perl existant.) > > > > > I don't know ch from Adam so can't comment on that but really, the > questions what are you trying to do? Is this for a pet programming > project? For work? Maintained just by you? By others? What's your > programming experience? > These days most of what I do is by/for me only. Altho lots of times what I thought was throw-away code (/bin/sh, perl, C/C++) will have a snippet that's useful. So I'll save it in my Prefab directory. ch is new, < 5 years (?). Most of my hacking these days involves tools to help me put up book-lngth stuff on the web. I've got a program, atom (ASCII-to-Markup) that I've working on since '94. Originally for TeX, now HTML. atom only does a few things, but well. Since I started making available **old** books (pre-1923), I needed a means of
ing and 347 page number and page HEADER (and more). A short C program did the trick. I used perl for other substitutions. Somebody in the UK turned the perl regex stuff into a ch library. IMHO, nobody can touch perl's regex ... so it would be nice to have in the C world. There are other perl features that would serve if they were backported, too. .... gary -- Gary Kline kline@thought.org www.thought.org Public service Unix