Friends.

I have a text file to extract content from.

The format is like below

title = Mr
name = shrini
phone = some number
email = email address
address = home address
city = chennai
state  = tamilnadu
country = india

The same block continues as multiple times in the file, but in records
are in different order.

I want to extract any two lines from the entire file. for example, I
want to get the
pair of name, phone or name, city or name,email address or name, state etc

How can we use the bash utilities to achieve this?

Thanks.

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to