Search Results

Search: Posts Made By: bogu0001
5,466
Posted By bogu0001
In editing – awk script -Not working My idea...
In editing – awk script -Not working

My idea in this code is to find out where the value "i" of column 2 is between 2 consecutive values in column 1, and then copy in column 3 the first value of...
5,466
Posted By bogu0001
perl script to join the the nearest values in two files
file 1
150
350


file 2

100
200
300
400
500

output
150 200
350 400
5,466
Posted By bogu0001
join the nearest values in two files
Hi guys
I have 2 files with different numbers. I would like to join the nearest possible values. for example

File 1

3000000
100000000
110000000
120000000

File 2

2908791
115194157...
5,466
Posted By bogu0001
thanx alot for the co operation . lets hope for...
thanx alot for the co operation . lets hope for the perfect answer from some experts.
5,466
Posted By bogu0001
find the closest numerical value -perl
>is it possible, with perl, to find the closest numerical value to a set value.
>>IE. a set of va;lues in column1 (a set value of 15) and I have another column with some set of values (five...
2,826
Posted By bogu0001
match nearest
Hi,

I'm trying to find the nearest match between two columns of numbers, e.g.

1,1
10,8
30,50
20,100

and the search could be e.g. 20,20

returning 10,8 - i.e. 20-10 = 10 and 20-8 = 12...
5,466
Posted By bogu0001
find nearest
Hi,

I'm trying to find the nearest match between two columns of numbers, e.g.

1,1
10,8
30,50
20,100

and the search could be e.g. 20,20

returning 10,8 - i.e. 20-10 = 10 and 20-8 = 12...
5,466
Posted By bogu0001
I need col 3
I need col 3
5,466
Posted By bogu0001
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...
5,466
Posted By bogu0001
any help would be appreciated
any help would be appreciated
5,466
Posted By bogu0001
Help would be appreciated
Help would be appreciated
5,466
Posted By bogu0001
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...
5,466
Posted By bogu0001
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...
4,220
Posted By bogu0001
NOpes!!!!!!!!!!!!
I think it's just missing the numbers from column1 and column 2!!!!!!

bogu$ cat 1.txt
0,9607,12887,24088, 579,248,404,385

bogu$ sed 's/ {1,}/ /g' 1.txt | tr -s " " "\n" | awk 'BEGIN...
4,220
Posted By bogu0001
the code is awesome but the input will be like...
the code is awesome but the input will be like this side by side!!!!
could we apply this to the the whole column?????
Thanx alot for the replies

$cat 0,9607,12887,24088, 579,248,404,385
4,220
Posted By bogu0001
but its printing the input numbers as it is in...
but its printing the input numbers as it is in output
I'm unable to get the result
Sorry for the trouble man
4,220
Posted By bogu0001
4,220
Posted By bogu0001
Addition of the values. Sorry not substraction this time
Thanq u
but my file is little bit complicated. all values of column 1 and 2 are in 2 seperate single cells!!!!!!

input
column1
0,9607,12887,24088,
column2
579,248,404,385

output...
4,220
Posted By bogu0001
how to get difference of two columns
hey guys i want to divide the 2nd column with the first column using any command of unix
help would be appreciated

input
set1
10
40
set2
12
60

output
2
20
14,048
Posted By bogu0001
Thanx alot Franky It's working like...
Thanx alot Franky
It's working like Mariijuana:b:
14,048
Posted By bogu0001
I'm getting the input as output no change at all
I'm getting the input as output no change at all
14,048
Posted By bogu0001
I'm getting result like the same.......... sorry!
I'm getting result like the same.......... sorry!
14,048
Posted By bogu0001
Thanx alot for the reply.but the command is nt...
Thanx alot for the reply.but the command is nt working

the file will be like this .these boxes appearing as | symbol in the text file. I just need numbers in the same style.

2933263...
14,048
Posted By bogu0001
remove verticalbar or pipe symbol
hi guys i have 6000 rows column
the text in the column has the symbol vertical bar |.
i tried some of the commands to remove it but none of the commands are reconzng this symbol. would u plz help...
1,535
Posted By bogu0001
hey
hey sorry da if u find it hard
may b my mistake. I will try to post clearly. but the data is huge and i'm unable to make i tprecise.
Showing results 1 to 25 of 32

 
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy