On Tuesday 30 May 2006 16:17, Angel Tsankov wrote: > I'm trying to automate the process of configuring bind and I am thinking of > creating a named.conf and a rndc.conf file and replace the [Insert secret > from rndc-confgen's output here] string with the output from rndc-confgen > -b 512 | grep -m 1 "secret" | cut -d '"' -f 2However, this doesn't seem to > be a straightforward task since the output from the above commands may > contain slashes and other characters that have special meaning to sed.
get a good sed-howto, here is a start http://www.suwald.com/linux-gnu/sed-howto.html -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
