Hi Guys,
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT
02/03/2010 23:44:13 hostname02 hostname01 NBU status: 96, EMM status: No media is
available
01/03/2010 03:48:14 unknown hostname01 backup of client hostname01 exited with
status 96 (unable to allocate new media for backup,
storage unit has none available)
22/02/2010 19:44:09 hostname02 hostname01 NBU status: 96, EMM status: No media is
available
OUTPUT FILE:
TIME SERVER/CLIENT TEXT
02/03/2010 23:44:13 hostname02 hostname01 NBU status: 96, EMM status: No media is available
01/03/2010 03:48:14 unknown hostname01 backup of client hostname01 exited with status 96 (unable to allocate new media for backup, storage unit has none available)
22/02/2010 19:44:09 hostname02 hostname01 NBU status: 96, EMM status: No media is available
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT
02/03/2010 23:44:13 hostname02 hostname01 NBU status: 96, EMM status: No media is
available
01/03/2010 03:48:14 unknown hostname01 backup of client hostname01 exited with
status 96 (unable to allocate new media for backup,
storage unit has none available)
22/02/2010 19:44:09 hostname02 hostname01 NBU status: 96, EMM status: No media is
available
OUTPUT FILE:
TIME SERVER/CLIENT TEXT
02/03/2010 23:44:13 hostname02 hostname01 NBU status: 96, EMM status: No media is available
01/03/2010 03:48:14 unknown hostname01 backup of client hostname01 exited with status 96 (unable to allocate new media for backup, storage unit has none available)
22/02/2010 19:44:09 hostname02 hostname01 NBU status: 96, EMM status: No media is available