This is AIX5.3..need a shell script or perl script
I have a text file which is as below
cat output.txt
./Work_0134_140755167.log
work Dev ab da026:0 2012-09-24 00:00:13 Secondary Assignment
./Work_0134_140755168.log
work Dev ab db086:0 2012-09-24 00:00:11 Authority Limit
work Dev ab db086:0 2012-09-24 00:00:11 Value Process
./Work_0134_140755169.log
work Dev ab da026:0 2012-09-24 00:00:16 Internal Alerts
./Mgr_0134_140755170.log
work Dev ab da026:0 2012-09-24 00:00:17 Internal Alerts
./Work_0134_140755171.log
'
'
but I want the output to be as below..The log file in the ouput.txt should gte appended to the first line below until the occurance of next log file and it should be the same
./Work_0134_140755167.log work Dev ab da026:0 2012-09-24 00:00:13 Secondary Assignment
./Work_0134_140755168.log work Dev ab db086:0 2012-09-24 00:00:11 Authority Limit
./Work_0134_140755168.log work Dev ab db086:0 2012-09-24 00:00:11 Value Process
./Work_0134_140755169.log work Dev ab da026:0 2012-09-24 00:00:16 Internal Alerts
./Mgr_0134_140755170.log work Dev ab da026:0 2012-09-24 00:00:17 Internal Alerts
./Work_0134_140755171.log