From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5957b5ed2fb835d3f9b4ebc6e804f899@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] "Intervalic Date: Wed, 22 Feb 2006 18:24:57 -0800 From: geoff@collyer.net In-Reply-To: <43fcb974.QuSET2EbMRC8b+Zg%yard-ape@telus.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ykkaidqffvzujlqiifvgsloqmm" Topicbox-Message-UUID: 04a1f454-ead1-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-ykkaidqffvzujlqiifvgsloqmm Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit You may want to generate some or all of the awk program on-the-fly, or use awk -v to set awk variables from the command line, or use the ENVIRON array to read environment variables. --upas-ykkaidqffvzujlqiifvgsloqmm Content-Type: message/rfc822 Content-Disposition: inline Received: from collyer.net ([216.240.55.183]) by collyer.net; Wed Feb 22 11:22:55 PST 2006 Received: from mail.cse.psu.edu ([130.203.4.6]) by collyer.net; Wed Feb 22 11:22:53 PST 2006 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 789665AA9A for ; Wed, 22 Feb 2006 14:22:46 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E38F9C7FB8 for <9fans@cse.psu.edu>; Wed, 22 Feb 2006 14:22:32 -0500 (EST) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02104-01-93 for <9fans@cse.psu.edu>; Wed, 22 Feb 2006 14:22:27 -0500 (EST) Received: from priv-edtnes28.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 671A5C7F01 for <9fans@cse.psu.edu>; Wed, 22 Feb 2006 14:22:27 -0500 (EST) Received: from hagrid.thomas.net ([154.20.170.128]) by priv-edtnes28.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060222192226.VOJ18178.priv-edtnes28.telusplanet.net@hagrid.thomas.net> for <9fans@cse.psu.edu>; Wed, 22 Feb 2006 12:22:26 -0700 Received: from hagrid.thomas.net (IDENT:7001@localhost [127.0.0.1]) by hagrid.thomas.net (8.13.4/8.12.11) with ESMTP id k1MJKKXo010932 for <9fans@cse.psu.edu>; Wed, 22 Feb 2006 11:20:20 -0800 Received: (from derek@localhost) by hagrid.thomas.net (8.13.4/8.13.3/Submit) id k1MJKKi6010931 for 9fans@cse.psu.edu; Wed, 22 Feb 2006 11:20:20 -0800 Date: Wed, 22 Feb 2006 11:20:20 -0800 From: yard-ape@telus.net To: 9fans@cse.psu.edu Subject: Re: [9fans] "Intervalic Message-ID: <43fcb974.QuSET2EbMRC8b+Zg%yard-ape@telus.net> References: <7af898f1cca6bb4312c1af962bde6cba@swtch.com> In-Reply-To: <7af898f1cca6bb4312c1af962bde6cba@swtch.com> User-Agent: nail 11.25 7/29/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+geoff.9fans=collyer.net@cse.psu.edu Errors-To: 9fans-bounces+geoff.9fans=collyer.net@cse.psu.edu "Russ Cox" wrote: > If you're using awk and want the first 24 characters, I'd use substr. Yup, substr is in there; but it needs to be fed the position dynamically with the regex. Thanks again! -Derek --upas-ykkaidqffvzujlqiifvgsloqmm--