The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 07-17-2006
asami asami is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 14
single or double quote in SED

i m trying the following command but its not working:

sed 's/find/\'replace\'/g' myFile

but the sed enters into new line

[root@asamiLinux root]# sed 's/find/re\'place/g' myFile
>

I havn't any idea how to put single quote in my replace string. Your early help woud be appreciated. Thanx