All,
I am new with AWK and want to learn how to manipulate a text file.
Here how the text file looks like before:
Name: XXX
Address: yyy
City: ZZZ
Name: AAA
Address: BBB
City: CCC
And it is how it looks like after:
Name: XXX Address: YYY City: ZZZ
Name: AAA Address: BBB Citry: CCC
Basically, I want to convert name and address in block to line format and as well the other way around.
Please help
Thx
Steve
I am new with AWK and want to learn how to manipulate a text file.
Here how the text file looks like before:
Name: XXX
Address: yyy
City: ZZZ
Name: AAA
Address: BBB
City: CCC
And it is how it looks like after:
Name: XXX Address: YYY City: ZZZ
Name: AAA Address: BBB Citry: CCC
Basically, I want to convert name and address in block to line format and as well the other way around.
Please help
Thx
Steve