![]() |
|
|
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 |
| Merging 2 files | jisha | Shell Programming and Scripting | 4 | 11-26-2008 08:39 AM |
| merging fields from 2 different files. | rudoraj | Shell Programming and Scripting | 5 | 11-02-2008 02:59 AM |
| merging files | vakharia Mahesh | Shell Programming and Scripting | 6 | 08-12-2008 03:23 PM |
| combining fields in two text fields | shocker | Shell Programming and Scripting | 3 | 01-16-2008 11:27 AM |
| Merging Help | kumarc | Shell Programming and Scripting | 3 | 05-04-2006 03:24 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Merging fields --- Help me plz
INPUT
have a file with 2 columns. evry set in a column ends with a symbol //. the first one with something like chr, chr no, chromosome name, cell no. cell no. etc and the second column has values belong to the first columnlike chr Xy, 22, 345,22222 etc. Some clumns have repeated but not duplicate values. with these I want to make file with first cloumn as first row and second olumn as second row and so on... chr chrXY chr no 22 chrname FUUR Cell 224Neuron Cell no 22222 // chr chrYY chr no 23 chrname FUUS Cell 225Neuron Cell no 22223 // chr chrYY chr no 24 chrname FUUT Cell 226Neuron Cell no 22222 Cell 227Neuron Cell no 222245 Cell 230Neuron Cell no 22245 // chr chrYY chr no 25 chrname RUUS Cell 225Neuron Cell no 52223 OUTPUT hr .........chr no....... chrname ......Cell............. Cell no chrXY....... 22 ............FUUR .........224Neuron..... 22222 chrYY .......23 .............FUUS .........225Neuron .....22223 chrYY....... 24 .............FUUT.......... 226Neuron.... 222222 ...................................................227Neuron.... 222245 ..................................................230Neuron ......22245 chrYY .......25............. RUUS ..........225Neuron ......52223 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|