Ik heb twee files, beide files bevatten gegevens die samengevoegd moeten worden in 1 bestand.
Het nieuwe bestand (bestand3.txt) moet worden:
ServiceName;Applcation;BuerCode
Dit moet gedaan worden m.h.v. een shell-script.
Wie kan een voorbeeldje geven hoe ik dit zou moeten doen.
Voorbeeldbestanden:
-----------------------------
bestand1.txt
BusinessUnit;ByerName;BuyerCode;ServiceName
080_FD;Jansen;dh101;Facility
083_FD;Jansen;dh101;Communications
bestand2.txt
ServiceName;Application
Facility;CMA
Facility;PVCS
Communications;Doors
Communication;Purify
-----------------------------
Het nieuwe bestand (bestand3.txt) moet worden:
ServiceName;Applcation;BuerCode
Dit moet gedaan worden m.h.v. een shell-script.
Wie kan een voorbeeldje geven hoe ik dit zou moeten doen.
Voorbeeldbestanden:
-----------------------------
bestand1.txt
BusinessUnit;ByerName;BuyerCode;ServiceName
080_FD;Jansen;dh101;Facility
083_FD;Jansen;dh101;Communications
bestand2.txt
ServiceName;Application
Facility;CMA
Facility;PVCS
Communications;Doors
Communication;Purify
-----------------------------