From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 23:14:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0237B16A401 for ; Thu, 26 Apr 2007 23:14:43 +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 9BC6613C448 for ; Thu, 26 Apr 2007 23:14:42 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l3QNGo46083047; Thu, 26 Apr 2007 16:16:51 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l3QNGok7083046; Thu, 26 Apr 2007 16:16:50 -0700 (PDT) (envelope-from kline) Date: Thu, 26 Apr 2007 16:16:50 -0700 From: Gary Kline To: Garrett Cooper Message-ID: <20070426231649.GA82894@thought.org> References: <20070425072914.GA65634@thought.org> <462F0824.5000107@infracaninophile.co.uk> <20070425190042.GA70940@thought.org> <46307BB4.109@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46307BB4.109@u.washington.edu> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: FreeBSD Mailing List Subject: Re: first of misc questions.... 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, 26 Apr 2007 23:14:43 -0000 On Thu, Apr 26, 2007 at 03:15:16AM -0700, Garrett Cooper wrote: > Gary Kline wrote: [[ ... ]] > Or my favorite structure (bourne shell style).. > > for i in `ls -l | awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && > $7 == 26 ) print $9}'`; do vi $i; done > > Could you provide examples of what you are trying to edit though Gary? There are a whole slew of html/php files (from jottings.thought.org) that I've been [[ koff, koff ]] meaning to edit and fine-tune. This for about a year. "jOttings" are my personal meditations that have been online for years. They'll always be online, but it's a wee bit hard to cuddle up and read stuff on one's computer. Even a laptop, right? So, long-story-short, I've been trying to get these mumblings into ink+paper. So they've got to be readable. "Perfect" is impossible; so maybe *polished*. Turns out that your and Derek Ragona's /bin/sh + awk is what I'm using. (OT, but the 30-45 files I'm editing had some bloopers; misspellings, puncutation errs, and more. So the files are in /tmp/Jot. [!] ) gary > > Thanks, > -Garrett > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org www.thought.org Public Service Unix