hi all,

suppose i have a file having the following data..

SN = TOM
FDN = SALLY
OPERATIONAL STATE = ENABLED

Now suppose i grep the string "ENABLED", i get the third line.But from
this very line i need to go 2 lines above and get the SN value
also.Please suggest .

regards'

Dilip


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to