Search Results

Search: Posts Made By: Linoleum
2,685
Posted By Linoleum
Wow elegant and super fast, Thanks a lot
Wow elegant and super fast,
Thanks a lot
2,685
Posted By Linoleum
Yep, it's already sorted.
Yep, it's already sorted.
2,685
Posted By Linoleum
STAT_CMD it's C program to calculate the Spearman...
STAT_CMD it's C program to calculate the Spearman rank correlation coefficient between two columns. I've checked and it seems that even without piping the output of gawk to my STAT_CMD it remains...
2,685
Posted By Linoleum
Thanks a lot, it works nicely since my STAT_CMD...
Thanks a lot, it works nicely since my STAT_CMD reads the stdin. Only a minor modification

awk -F, 'NR>1 {print $3}' temp.csv | uniq | while read group
do
awk -v g=$group -F, '$3==g {print...
2,685
Posted By Linoleum
What I have in mind is to do the following ...
What I have in mind is to do the following

zcat temp.csv.gz | gawk -F ',' '{if($3 == 1) print $3,$5}' | STAT_CMD

where STAT_CMD produces a statistics on the first two columns and the value '1'...
2,685
Posted By Linoleum
awk data subsets manipulation
Hi,
I'm working on a data file with the following structure

val1,val2,flag
214.7332983,979.0259,1
12.87435571,205.7679,1
1.365976384,19.01616,1
44.08584096,205.7679,2
7.034721792,383.8778,2...
Showing results 1 to 6 of 6

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