![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk, join or sed | jkl_jkl | Shell Programming and Scripting | 1 | 04-15-2008 06:55 AM |
| Join | jazz8146 | UNIX for Dummies Questions & Answers | 5 | 01-29-2008 11:42 AM |
| join (pls help on join command) | summer_cherry | Shell Programming and Scripting | 1 | 12-31-2007 05:19 AM |
| Use non alphanumerics in join | s0460205 | UNIX for Dummies Questions & Answers | 1 | 12-16-2005 07:03 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
join not working
I was trying to merge the following two example files using their first field:
join -1 1 -2 1 file1 file 2 but nothing is produced. The expected result should be: rs1005152 7 q21.3 3 It appears that the length of the first field in file1 is causing the problem. Any suggesting on how to use join to produce the desired result? I know there are other ways to get the result but I have to use the join because the real files are huge. Thanks in advance. file1: rs10051507 5 q21.3 rs10051514 5 p15.32 rs10051527 5 q21.2 rs1005152 7 q21.3 rs10051540 5 q21.3 rs10051548 5 q21.1 rs1005155 X q27.3 rs10051594 5 q34 file2: rs1003456 3 rs1005152 3 |
| Bookmarks |
| Tags |
| linux, linux commands, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|