![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| merge multi-lines into one line | missyou | Shell Programming and Scripting | 3 | 12-18-2008 03:38 AM |
| Removing end of line to merge multiple lines | tink | Shell Programming and Scripting | 4 | 10-14-2008 03:28 PM |
| Multi-line output to single line | LinuxRacr | Shell Programming and Scripting | 7 | 02-26-2008 10:05 AM |
| Need output in different lines not in one single line | csaha | Shell Programming and Scripting | 1 | 02-08-2006 08:28 AM |
| Joining lines to single line in VI | bobo | UNIX for Dummies Questions & Answers | 10 | 01-16-2006 11:30 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Merge multi-lines into one single line
Hi,
Can anyone help me for merge the following multi-line log which beginning with a number and time: into one line. For each line need to delete the return and add a space. Please see the red color line. *****Original Log***** 087;2008-12-06;084403;mc;;SYHLR6AP1D\LNZW;AD-703;1;12475;SYHLR6AP1B;1.1.1.1;0000000062;HGPDI:MSISDN=12345678,APNID=1,EQOSID=365; EXECUTED ; 187;2008-12-06;084403;mc;;SYHLR6AP1D\LNZW;AD-701;1;12473;SYHLR6AP1B;1.1.1.1;0000000129;HGSNC:MSISDN=12345678,NAM=0,KEEP; NOT ACCEPTED FAULT CODE 220 SUBSCRIBER NETWORK ACCESS MODE HAS ALREADY THAT VALUE ; *****Log line merged***** 087;2008-12-06;084403;mc;;SYHLR6AP1D\LNZW;AD-703;1;12475;SYHLR6AP1B;1.1.1.1;0000000062;HGPDI:MSISDN=12345678,APNID=1,EQOSID=365; EXECUTED ; 187;2008-12-06;084403;mc;;SYHLR6AP1D\LNZW;AD-701;1;12473;SYHLR6AP1B;1.1.1.1;0000000129;HGSNC:MSISDN=12345678,NAM=0,KEEP; NOT ACCEPTED FAULT CODE 220 SUBSCRIBER NETWORK ACCESS MODE HAS ALREADY THAT VALUE ; Thank You HappyDay |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|