Hi,
Thanks for the reply. I have a BASH script that will use SED to change the IP address of a host system by editing the /etc/sysconfig/networking/devices/ifcfg-eth0 file. The script merely removes the IPADDR='xx.xx.xx.xx' line and replaces it with whatever the user has input.
So really, I guess I am looking for a method in TCL/TK of substituting one line in a text file for another. I read a little on regexp and regsub, but I am unsure how to approach this. A small coding sample would go a long way in this instance.
Again everyone, thank you for all the assistance!