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 strongm 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: *

  1. Smileyq

    How to search and replace in an open file?

    While this does work it adds a space in front of the words everytime you run it which if run multiple times willl cause a problem.
  2. Smileyq

    How to search and replace in an open file?

    I'm getting this error with the join command Not enough arguments for join at F_replace line 44, near &quot;join,&quot; Execution of F_replace aborted due to compilation errors. here is the sub of my script--> Whats up with it? sub modify_name { open NAME, &quot;<names&quot; or die &quot;file...
  3. Smileyq

    How to search and replace in an open file?

    I'm going to give this a whirl and see how it works out. Thanks so much for the help. I'll let you know.
  4. 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, &quot;/var/named/domain.com.hosts&quot;; (need to search and replace here) Any help woudl be...

Part and Inventory Search

Back
Top