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?
Correct. You'll have to use a regular expression to match only the items you want.
Try something like: perl -i.bak -pe 's/([^\d])600/${1}86400/g' * Regards, Richard.