The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
merge file with nearest range !!!!!!!
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
merge file with nearest range !!!!!!!
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
02-11-2009
bogu0001
Banned
Join Date: Jan 2009
Posts: 32
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
bogu0001
View Public Profile
Find all posts by bogu0001
Find bogu0001's past nominations received
Find bogu0001's present nominations given