I am new to Linux and have a very large text log file from which to extract. I thought to use bash?
For example, the file contains:
Node:xyz
Time:01/07/13 14:26:17
INFO: Trusted certif ok
Node:abc
Time:01/07/13 14:26:18
INFO: Trusted certif ok
Node:def
Time:01/07/13 14:26:18
INFO: Trusted certif not ok
I need to extract the text after Node: and add it to the text after Info: to display on one line, output to be redirected to a new file. I am trying awk and sed, but not figured it out yet. Help much appreciated.
Example output would look like:
xyz Trusted certif ok
abc Trusted certif ok
dbf Trusted certif not ok