> pula58 <p
@pauls.seanet.com> wrote:
> > I have a text file with many occurances of the following text:
> > dev/group
> > I want to replace the (above) text with the following:
> > $ dev/group
> > But, I am having trouble when I use this code:
> > s/dev/group/$ dev/group
> > due to use of $ and /
> > Any tips on how I can do the replacement?
> Put a backslash in front of the meta characters that you
> want to be literal:
> s/dev\/group/\$ dev\/group/;
> or use single quote as the delimiter:
> s'dev/group'$ dev/group';
> --
> Tad McClellan SGML consulting
> t@augustmail.com Perl programming
> Fort Worth, Texas- Hide quoted text -
>
That did the trick, thank you very much (to you both)! P.