[ale] sed

Asif E. asifem at gmail.com
Mon Mar 31 13:49:10 EDT 2008


Try

-e "s/laplace/$email/"

It had worked for me in the past.

Asif


On 3/28/08, Terry Bailey <terry at bitlinx.com> wrote:
>
> Hi,
>
> I have a Perl problem.
>
> $email = xyx at abc.net
>
> -e 's/laplace/$email/'
>
> sed will not completely replace "laplace"  with the value in $email
> because everything is lost starting with the "@" and ending with the "c".
>
>
> Any help would be appreciated.
>
> Thanks.
>
> Terry Bailey
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20080331/9ac22556/attachment.html 


More information about the Ale mailing list