Need script to find the line which occurse after a given line



Hi,

I have file as below

Process= Proc1
{
Color=Red
Size=20
}

Process=Proc2
{
Color=Blue
Size=88
}

Now My script should take two parametes. ProcX and the property which
needs to be changed as below

Myscript Proc2 Color=Black

Then I need to generate the file as

Process= Proc1
{
Color=Red
Size=20
}

Process=Proc2
{
Color=Black
Size=88
}

Please Help,

Thanks,
Subramanya M

.



Relevant Pages