Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-07 Thread Gary Kline
On Mon, Aug 07, 2006 at 10:47:47AM -0700, Garrett Cooper wrote: > Kurt Wall wrote: > >On Mon, Aug 07, 2006 at 07:13:03AM -0400, Kurt Wall wrote: > > > >>On Sun, Aug 06, 2006 at 03:47:32PM -0700, Gary Kline wrote: > >> > >>> I've got 80 or so html/php files. Most do have > >>> > >>> > >

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-07 Thread Garrett Cooper
Kurt Wall wrote: On Mon, Aug 07, 2006 at 07:13:03AM -0400, Kurt Wall wrote: On Sun, Aug 06, 2006 at 03:47:32PM -0700, Gary Kline wrote: I've got 80 or so html/php files. Most do have but a whole slew do not/are missing the BG color code. So is there some scripto-magic wa

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-07 Thread Kurt Wall
On Mon, Aug 07, 2006 at 07:13:03AM -0400, Kurt Wall wrote: > On Sun, Aug 06, 2006 at 03:47:32PM -0700, Gary Kline wrote: > > > > I've got 80 or so html/php files. Most do have > > > > > > > > but a whole slew do not/are missing the BG color code. > > So is there some scripto-m

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-07 Thread Kurt Wall
On Sun, Aug 06, 2006 at 03:47:32PM -0700, Gary Kline wrote: > > I've got 80 or so html/php files. Most do have > > > > but a whole slew do not/are missing the BG color code. > So is there some scripto-magic way of finding out which fles are > missing the above s

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Gary Kline
On Sun, Aug 06, 2006 at 07:18:07PM -0400, Scott Sipe wrote: > > On Aug 6, 2006, at 6:47 PM, Gary Kline wrote: > > > > Thanks much! I *did* learn that with just FS, no need "END". > > Maybe you can help me figure out what I'm trying to do because > > I'm wedged!! > > > > I've got 8

Re: Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Scott Sipe
On Aug 6, 2006, at 6:47 PM, Gary Kline wrote: Thanks much! I *did* learn that with just FS, no need "END". Maybe you can help me figure out what I'm trying to do because I'm wedged!! I've got 80 or so html/php files. Most do have but a whole

Howto insert string. (Was: Re: [freebsd-questions] awk quickie.)

2006-08-06 Thread Gary Kline
On Sun, Aug 06, 2006 at 11:23:14PM +0100, Howard Jones wrote: > Gary Kline wrote: > > Guys, > > > > Can aanybody spot what I'm doing wrong in this tiny awk scripy:: > > > Using awk is what you are doing wrong ;-) Assuming that this is all you > are doing with the list, anyway... > > Fro

Re: [freebsd-questions] awk quickie.

2006-08-06 Thread Howard Jones
Gary Kline wrote: Guys, Can aanybody spot what I'm doing wrong in this tiny awk scripy:: Using awk is what you are doing wrong ;-) Assuming that this is all you are doing with the list, anyway... From the grep manpage: " -l, --files-with-matches Suppress