I have a bind document called named.domain.com. I want to change all of the "domain.com" instances in the file to "domain.net" and then send the output to a different file. It seems like the "tr" command is the way to go, but I can't get the syntax right. I figured it would be something like this....
tr '["domain.com"]' '["domain.net"]' < named.domain.com > named.domain.net
Any ideas how to do it?
Thanks,
Chris
tr '["domain.com"]' '["domain.net"]' < named.domain.com > named.domain.net
Any ideas how to do it?
Thanks,
Chris