![]() |
|
|
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 two files | rameshonline | Shell Programming and Scripting | 14 | 04-06-2009 02:20 AM |
| Merging 2 .CSV files in Unix | chachabronson | UNIX for Dummies Questions & Answers | 6 | 08-05-2008 04:11 AM |
| merging text files | code19 | Shell Programming and Scripting | 8 | 02-13-2008 08:13 AM |
| merging of 2 files AWK - part 2 | pp56825 | Shell Programming and Scripting | 2 | 02-11-2008 10:14 PM |
| Merging two files | venommaker | UNIX for Dummies Questions & Answers | 4 | 01-10-2008 08:15 AM |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
I have 2 files pipe delimted and want to merge them based on a key
e.g file 1 123|xxx|yyy|zzz 345|xab|yzy|zyz 456|sss|ttt|foo file 2 123|hhh|ggg|xxx 345|ddd|www|ddd|fff 456|ddd|sss|sss|eee so if the key is the first field, and the result should be file 1 with field 2 from file 2 based on the key i.e. result will be 123|hhh|yyy|zzz 345|ddd|ysy|zyz 456|ddd|ttt|foo |
| Bookmarks |
| Tags |
| autosys |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|