For Programmers: Free Programming Magazines  


Home > Archive > AWK > March 2008 > awk- report generation from input file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author awk- report generation from input file
McLan

2008-03-15, 4:55 pm

I have input file with below content:

Person:
Name: Firstname1 lastname1
Address: 111, Straat
City : Hilversum

Person:
Name : Fistname2 lastname2
Address: 222, street
Cit: Bussum

Person:
Name : Firstname2 lastname3
Address: 333, station straat
City: Amsterdam

I need the output file withe the below contents:
lastname1 111 Hilversum
lastname2 222 Bussum
lastname3 333 Amsterdam

is it possible, if yes how?

Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com