you should try this.
$old="abcdef";
$new="lmnop";
$ci_cmd1 = s/$old/$new/;        #this substitutes the old value with the
new one.

regards,
Ian



David Gray wrote:

> > Problem:
> > ci_cmd1="abcdef",          // line1
> > ci_cmd2="ghijk",             // line2
> > ci_cmd3="lmnop",           // line3
> > ci_cmd4="pqrst",             // line4
> >
> > I want to delete line 1 and 2 and the above should look like as 
> > shown below:
> >
> > ci_cmd1="lmnop",
> > ci_cmd2="pqrst",
>
> Where are these lines? Are they in a file? Are they in a variable? Can

> you post some code that you've tried?
>
> Cheers,
>
>  -dave
>
> > Regards.,
> > Avi
>
> Like Avi from Snatch? =P
> "Got anything to declare?"
> "Yeah, don't go to England."
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to