Asif Iqbal wrote:
>
> I am trying to relace any 7 digit number to to a new 7 digit number of
> which last two digits are 9
>
> lets pick a random 7 digit number as 1347236.
>
> so I want 1347236 --> 1347299 using perl
>
> I can do it with sed
>
> NUMBER=1347236
> NUMBER=`echo $NUMBER | sed 's/\([0-
Asif Iqbal wrote:
> Hi All
>
> I am trying to relace any 7 digit number to to a new 7 digit number of
> which last two digits are 9
>
> lets pick a random 7 digit number as 1347236.
>
> so I want 1347236 --> 1347299 using perl
>
> I can do it with sed
>
> NUMBER=1347236
> NUMBER=`echo $NUMBER