Date: Thu, 26 Apr 2007 16:16:50 -0700 From: Gary Kline <kline@tao.thought.org> To: Garrett Cooper <youshi10@u.washington.edu> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: first of misc questions.... Message-ID: <20070426231649.GA82894@thought.org> In-Reply-To: <46307BB4.109@u.washington.edu> References: <20070425072914.GA65634@thought.org> <462F0824.5000107@infracaninophile.co.uk> <20070425190042.GA70940@thought.org> <46307BB4.109@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070426231649.GA82894>