![]() |
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 |
| join (pls help on join command) | summer_cherry | Shell Programming and Scripting | 1 | 12-31-2007 05:19 AM |
| Join Command Help | jerome Sukumar | Shell Programming and Scripting | 0 | 01-25-2007 03:08 AM |
| join command | penfold | Shell Programming and Scripting | 22 | 02-22-2005 08:37 AM |
| Join command | unisam | UNIX for Dummies Questions & Answers | 4 | 07-28-2004 07:59 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Greetings,
I am attempting to use the join command to produce a file from 2 sorted comma seperated files. Ex.: FILE 1: jane,dow joe,blow FILE 2: jane,dow,50,50,20 joe,blow,29,53,25 spike,lee,50,91,05 I want the resulting file to be reconds in FILE 2 where the person exists in FILE 1. ex: joe,blow,29,53,25 jane,dow,50,50,20 I've tried using join -t, -j1 1 -j1 2 -j2 1 -j2 2 -o "2.1 2.2 2.3 2.4 2.5" FILE1 FILE 2 but it seems to only give me the first record matched (joe,blow,29,53,25). I expect the number of records in the resulting file to be the same as that of FILE 1. Any help would be appreciated to resolve my problem. Thanks, Marcel Sammut Last edited by Supial; 08-07-2005 at 07:19 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|