I have a log file as below:
/export/home/got/logs/o2877612.01:job_1432787863184_159408 Message: org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: /user/got/distro /export/home/got/logs/o2877612.01:Module: SUMMARY_PIG
I want to form a final log file by combining two lines as below. Above both lines start with /export/home/got/logs/o2877612.01
:
/export/home/got/logs/o2877612.01:Module: SUMMARY_PIG :job_1432787863184_159408 Message: org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: /user/got/distro
Could you help in the unix command for this?