Need script to find the line which occurse after a given line
- From: mailursubbu@xxxxxxxxx
- Date: 15 Feb 2006 22:42:18 -0800
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
.
- Follow-Ups:
- Re: Need script to find the line which occurse after a given line
- From: Stephane Chazelas
- Re: Need script to find the line which occurse after a given line
- Prev by Date: Re: Adding up numbers in a file
- Next by Date: Re: How to check the same process running twice
- Previous by thread: Adding up numbers in a file
- Next by thread: Re: Need script to find the line which occurse after a given line
- Index(es):
Relevant Pages
|
|