Salve
Avendo un file come segue
file1.txt
Codice:
Date (dd/mm)Time Server IP Error Code
===========================================================================
10/04/2008 10:10 ServerA xxx.xxx.xxx.xxx 6
10/04/2008 10:10 ServerB xxx.xxx.xxx.xxx 9
10/04/2008 10:10 ServerC xxx.xxx.xxx.xxx 16
10/04/2008 10:10 ServerD xxx.xxx.xxx.xxx 60
File2.txt
Codice:
Status
=============
Solved
Pending
Outage
Process
Necessità di aggiornamento
file1.txt come di seguito
Codice:
Date (dd/mm)Time Server IP Error Code Status
================================================================================================================
10/04/2008 10:10 ServerA xxx.xxx.xxx.xxx 6 Solved
10/04/2008 10:10 ServerB xxx.xxx.xxx.xxx 9 Pending
10/04/2008 10:10 ServerC xxx.xxx.xxx.xxx 16 Outage
10/04/2008 10:10 ServerD xxx.xxx.xxx.xxx 60 Process
c'è comunque da aggiungere colonne o utilizzando awk
sed
grazie in anticipo