The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-27-2006
HealthyGuy HealthyGuy is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 8
Wildcards in SED

Hi Folks

Quick one I can't seem to figure out..

I need to replace a string such as "From here.....to here".

I would think the command would look like:
sed 's/From here*to here/new text/g' or
sed 's/From here\*to here/new text/g'

But it's not working for me.

Thanks in advance