Felix Geerinckx wrote:
>> s/\d{8}/$date/go;
>
> Why are you introducing the compile-once-modifier when there is no
> variable to interpolate in the pattern?
>
oops.. just realize that... better pay more attention next time :-)
> Also, if you are taking on the job of correcting other posters' (a
on Wed, 21 Aug 2002 17:30:17 GMT, David wrote:
> Felix Geerinckx wrote:
>> s/\d{8}/$date/g;
>
> s/\d{8}/$date/go;
Why are you introducing the compile-once-modifier when there is no
variable to interpolate in the pattern?
Also, if you are taking on the job of correcting other posters
Felix Geerinckx wrote:
> on Wed, 21 Aug 2002 11:33:06 GMT, [EMAIL PROTECTED] wrote:
>
>> I'm trying to substitute all references to a date (of the format
>> MMDD) in a file to the current date. I'm obviously doing
>> something wrong here ('cause it doesn't work!:}), as no change is
>> made
On Wed, 21 Aug 2002 [EMAIL PROTECTED] wrote:
> Hi,
>
> I'm trying to substitute all references to a date (of the format
> MMDD) in a file to the current date. I'm obviously doing something
> wrong here ('cause it doesn't work!:}), as no change is made to the
> config.ini file.
> the $date
on Wed, 21 Aug 2002 11:33:06 GMT, [EMAIL PROTECTED] wrote:
> I'm trying to substitute all references to a date (of the format
> MMDD) in a file to the current date. I'm obviously doing
> something wrong here ('cause it doesn't work!:}), as no change is
> made to the config.ini file.
> open
Hi,
I'm trying to substitute all references to a date (of the format
MMDD) in a file to the current date. I'm obviously doing something
wrong here ('cause it doesn't work!:}), as no change is made to the
config.ini file.
the $date variable is derived form another part of my script.
thanks,