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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interpreting sed command

Status
Not open for further replies.

skins

MIS
Jun 22, 2000
1
US
I need some help with interpreting the following sed command.  s/\*\*/\*0\*/g.  What exactly would this replace?  I'm guessing the string of characters '*\*' would be replaced with '*0\*'.  Any help is much appreciated.
 
Almost.&nbsp;&nbsp;<b><FONT FACE=monospace><font color=red> \*\* </b></font></font> finds <b><FONT FACE=monospace><font color=red> ** </b></font></font> and <b><FONT FACE=monospace><font color=red> \*0\* </b></font></font> is just <b><FONT FACE=monospace><font color=red> *0* </b></font></font> <p>Octalman<br><a href=mailto: > </a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top