Search Results

Search: Posts Made By: utritala
6,810
Posted By utritala
Thank you for your help.
Thank you for your help.
6,810
Posted By utritala
No, its not. I am trying to analyse some large...
No, its not. I am trying to analyse some large dataset and really naive to shell programming
6,810
Posted By utritala
Sorry I didn't post my code earlier. awk...
Sorry I didn't post my code earlier.


awk 'NR % 2 != 0 {x=$1; y=$2} NR % 2 == 0 {if ($2 - y > 50){print x,y}}' test1


where test1 is the input file I described above.

It only gives me ...
6,810
Posted By utritala
How to compare the values of a column in a same file using awk?
Dear Unix experts,

I have got a file where I would like to compare the values of second column if first column is same in such a way that the difference between the values is >50. If not, I would...
Showing results 1 to 4 of 4

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