in reply to Namechange

Take a look at this info:

You probably want something like
perl -i.orig -p -e 's/@xyz\.com/@xyzabc.com/g'

Joost

-- #!/usr/bin/perl -w use strict;$;= ";Jtunsitr pa;ngo;t1h\$e;r. )p.e(r;ls ;h;a;c.k^e;rs ";$_=$;;do{$..=chop}while(chop);$_=$;;eval$.;

Replies are listed 'Best First'.
Re: Re: Namechange
by diotalevi (Canon) on Nov 28, 2003 at 16:41 UTC

    @xyz is interpolated. Escape the @.

    perl -i.orig -p -e 's/\@xyz\.com/\@xyzabc.com/g'