[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] raqq550 TTL



>>perl -i.bak -pe 's/this/that/g' *
>
>Great.  Thanks for the help with this one.
>
>If I get brave enough, I will give it a go and let the list know the results.
>
>I do have one problem --  my TTL is set to 600 and I've also got the retry set at 3600.
>
>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?


Either find a way of identifying the 600 only (is there a delimiter preceding the 600?) or to it in two steps:

1. change 600 to 86400
2. change 386400 to 3600

Quite simple I thought...

Greg
-- 
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195   FAX: (970) 266-0158