[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] raqq550 TTL
- Subject: Re: [cobalt-users] raqq550 TTL
- From: Pitr <pitr@xxxxxxxxx>
- Date: Wed May 14 08:33:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
sure, just tell perl to look for 600 with a break/blank space at the
beginning of it:
perl -i.bak -pe 's/\b600/86400/g' *
The "\b" is the escape sequence to tell it to look for a word break.
I tested this locally and it behaved properly for a zone file with a TTL
of 600 and a retry of 3600.
On Wed, 2003-05-14 at 11:06, Brian Rahill wrote:
> So I assume that if I do a: perl -i -pe 's/600/86400/g' *
>
> It will change the TTL from 600 to 86400 but will also change the 3600 to
> 386400. This wouldn't be good.
>
> Any ideas on how to get it to ignore the 3600?
>