![]() |
|
|
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 |
| file merge | siba.s.nayak | UNIX for Dummies Questions & Answers | 6 | 12-15-2008 01:47 AM |
| range in hosts file | daveisme | AIX | 4 | 12-11-2008 11:42 AM |
| Merge two files whose names are given in other file | harshada | Shell Programming and Scripting | 1 | 10-01-2008 05:17 AM |
| Urgent help on grep the nearest value | ahjiefreak | Shell Programming and Scripting | 2 | 04-02-2008 10:24 AM |
| merge two files in one file | nvkuriseti | Shell Programming and Scripting | 3 | 08-27-2007 07:06 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
merge file with nearest range !!!!!!!
I want join 2 files with range of numbers in ascending order according to the value of the numbers the input will be like this
INPUT file1 column1 column2 10 14 20 25 56 58 83 90 FILE 2 column1 column 2 1 2 2 8 10 14 20 24 50 58 60 63 70 76 80 100 OUTPUT col1 col2 col3 col4 1 2 2 8 10 14 10 14 20 25 20 24 56 58 50 58 70 76 83 90 80 100 |
|
||||
|
merge file with nearest range !!!!!!!
I want join 2 files with range of numbers in ascending order according to the value of the numbers the input will be like this
INPUT file1 column1 column2 10 14 20 25 56 58 83 90 FILE 2 column1 column 2 1 2 2 8 10 14 20 24 50 58 60 63 70 76 80 100 OUTPUT col1 col2 col3 col4 1 2 2 8 10 14 10 14 20 25 20 24 56 58 50 58 70 76 83 90 80 100 |
|
||||
|
finding nearest numbers
Hey guys I would like to know how to find nearest numbers based on second column in 1st column some thing like this
Input col1 col2 10 20 30 40 48 64 55 71 70 90 output col1 col2 col3 10 20 30 30 40 48 48 64 70 55 71 70 90 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|