![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Join Command Help | jerome Sukumar | Shell Programming and Scripting | 0 | 01-24-2007 11:08 PM |
| Using Join Command | Supial | Shell Programming and Scripting | 4 | 08-08-2005 10:12 PM |
| join command | penfold | Shell Programming and Scripting | 22 | 02-22-2005 04:37 AM |
| Join command | unisam | UNIX for Dummies Questions & Answers | 4 | 07-28-2004 03:59 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
join (pls help on join command)
Hi,
I am a new learner of join command. Some result really make me confused. Please kindly help me. input: Code:
file1: LEO oracle engineer 210375 P.Jones Office Runner ID897 L.Clip Personl Chief ID982 S.Round UNIX admin ID6 file2: Dept2C ID897 6 years Dept5Z ID982 1 year Dept3S ID6 2 years GEDA 210375 1 year Code:
ID897 P.Jones Office Runner Dept2C 6 years ID982 L.Clip Personl Chief Dept5Z 1 year ID6 S.Round UNIX admin Dept3S 2 years 210375 LEO oracle engineer GEDA 1 year Thanks in advanced! Code:
code1: join -j1 4 -j2 2 file1 file2 result1: ID897 P.Jones Office Runner Dept2C 6 years ID982 L.Clip Personl Chief Dept5Z 1 year code2:join -a1 -j1 4 -j2 2 file1 file2 reuslt2: 210375 LEO oracle engineer ID897 P.Jones Office Runner Dept2C 6 years ID982 L.Clip Personl Chief Dept5Z 1 year code3: join -a2 -j1 4 -j2 2 file1 file2 reustl3: ID897 P.Jones Office Runner Dept2C 6 years ID982 L.Clip Personl Chief Dept5Z 1 year ID6 Dept3S 2 years 210375 GEDA 1 year |
| Forum Sponsor | ||
|
|