Re: [techtalk] Stumped by shell script

2001-05-29 Thread Nancy Corbett
I got it working. Thanks again. The problem turned out to a mind fart on my part. ;) Nancy On Tue, 29 May 2001, Almut Behrens wrote: > On Mon, May 28, 2001 at 09:35:55PM -0700, Nancy Corbett wrote: > > > > The first one, however, within the > > sed statement, is not returning the current dat

Re: [techtalk] Stumped by shell script

2001-05-29 Thread Almut Behrens
On Mon, May 28, 2001 at 09:35:55PM -0700, Nancy Corbett wrote: > > The first one, however, within the > sed statement, is not returning the current date within the output file. > It's replacing DATE with "$1". Where's it getting that? Sheesh! hmm, I have no idea why that is :) I just tried it

Re: [techtalk] Stumped by shell script

2001-05-28 Thread Nancy Corbett
You're the best!! Um...it's stil not working perfectly, but I'm further along than I was. The input file is being read and it's substituting the second and third variables perfectly. The first one, however, within the sed statement, is not returning the current date within the output file. It'

Re: [techtalk] Stumped by shell script

2001-05-28 Thread Almut Behrens
On Mon, May 28, 2001 at 04:31:41PM -0700, Nancy Corbett wrote: > > This is off topic, but I'm hoping your sharp eyes will see what I am > obviously missing. > > I'm writing a ksh script which I want to give 3 variables and read them > from standard input. To do this, I'm using sed. I want sed

[techtalk] Stumped by shell script

2001-05-28 Thread Nancy Corbett
This is off topic, but I'm hoping your sharp eyes will see what I am obviously missing. I'm writing a ksh script which I want to give 3 variables and read them from standard input. To do this, I'm using sed. I want sed to change every instance of DATE to the current date in a given file and re