Hi awk experts,
I have a file with some duplicate first fields like as follows:
shop | greg | 21
shop | bill | 23
work | jane | 26
I want the desired o/p to be as:
shop | greg bill | 21
| | 23
work | jane | 26
Could somebody help me?
Note: the pipes are just field seperators, ignore them.
TIA
Regards,
Bill
I have a file with some duplicate first fields like as follows:
shop | greg | 21
shop | bill | 23
work | jane | 26
I want the desired o/p to be as:
shop | greg bill | 21
| | 23
work | jane | 26
Could somebody help me?
Note: the pipes are just field seperators, ignore them.
TIA
Regards,
Bill