Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Smileyq
  • Content: Threads
  • Order by date
  1. Smileyq

    How to search and replace in an open file?

    I'm having trouble writing a program for dns modifications. I need to find a way to search an open file and change or substitute the found results with the input. Example----> sub modify_dns { open DNS, "/var/named/domain.com.hosts"; (need to search and replace here) Any help woudl be...

Part and Inventory Search

Back
Top