![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Separate string | arghya_owen | Shell Programming and Scripting | 3 | 05-14-2008 04:35 AM |
| remove space characters | melanie_pfefer | Shell Programming and Scripting | 1 | 03-11-2008 01:45 PM |
| wc of characters in a file ignoring white space | sachin.gangadha | UNIX for Dummies Questions & Answers | 1 | 12-15-2007 06:13 PM |
| separate information with a space character | remid1985 | UNIX for Dummies Questions & Answers | 2 | 10-31-2006 06:36 AM |
| separate out the column | ust | Shell Programming and Scripting | 6 | 12-29-2005 07:11 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to separate every 10 characters then space then another 10 charactes
suppose u have a file
P2122 AAJJSKKSKSLSKSKMSKMS P2123 AASSJMWJNSJNWHNSKSJ P2126 AHJMKNSAJNSKAKMOKALM P3533 KKKSJMAKKLLMLMSLMSPM P2122 JKKSKKMKKSKKKS--------------NSNJ P2123 NSJN---------MSKMKMKKSLLNSLL P2126 JNJSJNWKMSK-------------SKKSMK P3533 JSNSNPWLLL-SKK----SKKKSKKS so the output shud be P2122 AAJJSKKSKS LSKSKMSKMS P2123 AASSJMWJN JNWHNSKSJM P2126 AHJMKNSAJN SKAKMOKALM P3533 KKKSJMAKKL LMLMSLMSPM P2122 JKKSKKMKKS SLSKSKMSKM P2123 NSJN---------MS KMKMKKSLLN SLL P2126 JNJSJNWKMS K-------------SKK SMK P3533 JSNSNPWLL- SKK------SKKK SKKS |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|