The UNIX and Linux Forums  

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




Thread: sed question
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 09-10-2008
mvijayv mvijayv is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 16
This works for me ...

$echo "text * text"
text * text

$echo "text * text"|sed 's/\*/\\052/g'
text \052 text

Hope this helps ...
Vj