<div><br>Try </div>
<div> </div>
<div>-e "s/laplace/$email/"</div>
<div> </div>
<div>It had worked for me in the past. </div>
<div> </div>
<div>Asif</div>
<div><br> </div>
<div><span class="gmail_quote">On 3/28/08, <b class="gmail_sendername">Terry Bailey</b> <<a href="mailto:terry@bitlinx.com">terry@bitlinx.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi,<br><br>I have a Perl problem.<br><br>$email = <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:xyx@abc.net" target="_blank">xyx@abc.net</a><br><br><font face="Courier New, Courier">-e 's/laplace/$email/'<br>
<br></font>sed will not completely replace "laplace" with the value in $email because everything is lost starting with the "@" and ending with the "c".<br><br><br>Any help would be appreciated.<br>
<br>Thanks.<br><br>Terry Bailey<br> </div><br>_______________________________________________<br>Ale mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Ale@ale.org">Ale@ale.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br>