![]() |
|
|
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 |
| Join two files | koti_rama | Shell Programming and Scripting | 4 | 06-10-2008 07:15 AM |
| How to ignore incomplete files | sentak | SUN Solaris | 6 | 02-14-2008 04:03 PM |
| How to ignore incomplete files | sentak | Shell Programming and Scripting | 6 | 02-14-2008 02:29 PM |
| Join Files | choppas | Shell Programming and Scripting | 2 | 10-18-2006 11:03 AM |
| append newline to files with incomplete last line | ziyi | UNIX for Dummies Questions & Answers | 1 | 04-14-2004 10:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Join of files is incomplete?!
Hi folks,
I am using the join command to join two files on a common field as follows: File1.txt Adsorption|H01.181.529.047 Adult|M01.060.116 Children|M01.055 File2.txt 5|Adsorption|C0001674 7|Adult|C000001 6|Children|C00002 join -i -t "|" -a 2 -1 1 -2 2 File1.txt File2.txt This works fine for some lines but not all - Adult is missed whatever I try to do e.g. put to lower case etc? Adsorption|H01.181.529.047|5|C0001674 7|Adult|C000001 Children|M01.055|6|C00002 |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|