lundi 8 décembre 2014

Extract 2 fields from 2 different lines


I have the below lines in my file


Employee Id : ABC123,


Employee Name: Vivek


Employee Type: Temp Join Date: 31-jan-2014 Buz Code: 2098


Employee Comments:


Replacement for Jane


Country: India


State: Delhi


#


Employee Id : GGG67,


Employee Name: Kumar


Employee Type: Temp Join Date:15-jan-2014 Buz Code: 2176


Employee Comments:


Country: India


State: Delhi


Street: Kanot


From this, I need Employee ID, Employee Name , Buz Code in a table format for all employees. I tried with awk. but no results as expected. Can you please help?



Aucun commentaire:

Enregistrer un commentaire