Replace all occurrences of a string

From: Shabam (xxredbaronxxx_at_hotmail.com)
Date: 11/16/04

  • Next message: Jim Gibson: "Re: Replace all occurrences of a string"
    Date: Tue, 16 Nov 2004 14:36:03 -0800
    
    

    Is there a utility or command that will allow me to replace all occurrences
    of a string within all files in a directory?

    I'm trying to mass update IP addresses of all DNS zone files in my
    /var/named/ folder.


  • Next message: Jim Gibson: "Re: Replace all occurrences of a string"

    Relevant Pages

    • Re: Replace all occurrences of a string
      ... Jim Gibson wrote: ... >>Is there a utility or command that will allow me to replace all occurrences ... >>of a string within all files in a directory? ...
      (comp.lang.perl)
    • Re: changing text in files
      ... I need to replace all the occurrences of ... with the string ... the command below which was thankfully supplied by some one here did ... that command replaces Inf with InfoInf and Infooo with ...
      (comp.unix.shell)
    • changing text in files
      ... I need to replace all the occurrences of ... with the string ... the command below which was thankfully supplied by some one here did ... I tried to escape the "*" character but could not. ...
      (comp.unix.shell)
    • Re: changing text in files
      ... I need to replace all the occurrences of ... with the string ... the command below which was thankfully supplied by some one here did ... I tried to escape the "*" character but could not. ...
      (comp.unix.shell)
    • TIP #185: Null Handling
      ... nulls, and command modifications for manipulating them. ... Tcl deals with strings, the universal medium for representing data. ... is know and it is an empty string, but if a respondent forgets to give ...
      (comp.lang.tcl)