Kevin Darcy wrote:
>I'm also wary of declaring the same range in multiple match lists (once
>asserted, then negated everywhere else), since that means if the
>numeric value of the range changes, you have multiple places to
update, >and you could miss one.
Here are two friends to help not miss one:
e.g. subnet moves from 10.42. to 10.43
sed -i 's/10.42/10.43/g' *
perl -pi -w -e 's#10\.42#10\.43#g;' *
Plus, the remaining .rev files will have to be renamed with the new
octet(s).
Of course, the standard disclaimer applies. Global chnage scripts
commands are *highly* dangerous if you are not 100%+ sure that no files
contain strings that you do not want to change.
Thanks again for this great list!
Best,
PKrash
This e-mail and any documents accompanying it may contain legally privileged
and/or confidential information belonging to Exegy, Inc. Such information may
be protected from disclosure by law. The information is intended for use by
only the addressee. If you are not the intended recipient, you are hereby
notified that any disclosure or use of the information is strictly prohibited.
If you have received this e-mail in error, please immediately contact the
sender by e-mail or phone regarding instructions for return or destruction and
do not use or disclose the content to others.
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users