Search Results

Search: Posts Made By: jalaj841
1,069
Posted By jalaj841
Group by a column and first 2 characters of another
Hello all,

I want to consolidate my data group by cities into 4 rolled up code categories (first 2 characters of 2nd col), namely PR, GR, TY and others.

CHICAGO PR1
CHICAGO GR3
CHICAGO GR4...
1,373
Posted By jalaj841
Hi Chubler_XL, The code is working perfectly...
Hi Chubler_XL,

The code is working perfectly with the sample data,but if i add a couple of more levels, it seems to miss some rows in the output

Sample 2

SSGG765 L1 1 2 3
SSGG765 L2 4...
1,373
Posted By jalaj841
Hi Chubler_XL, Did you mean this line? ...
Hi Chubler_XL,

Did you mean this line?

SSGG765 GUHJHJJ7 L5 10 12 13 SSGG765



This is because this line exists
GUHJHJJ7 L5 10 12 13


but for L5, SSGG765 does not have any...
1,373
Posted By jalaj841
Sum pairs of values and per level and state which one is absent
There are 3 values (cols 3,4,5) for each name (col 1) and level (col2 ). Some levels for some of the names do not exist. Files are space delimited

SSGG765 L1 1 2 3
SSGG765 L2 4 5 6
GUHJHJJ7 ...
1,583
Posted By jalaj841
I`m sorry if I made this post ambiguous, reading...
I`m sorry if I made this post ambiguous, reading through your replies I think Don understands the problem correctly.

Here is my attempt, which gives me a wrong output

awk ...
1,583
Posted By jalaj841
Return alias with pattern
hello all,

i have ids repeated with alias names starting with different patterns like 'ab' , 'fg' etc...sometimes the same pattern names are repeated with the same ids like id=1 has names ab1 as...
2,381
Posted By jalaj841
Thank you ! this is running now..I will get back...
Thank you ! this is running now..I will get back to you if I find some issues.. thank you again....
2,381
Posted By jalaj841
Number of parents is 234 now, but it will grow,,...
Number of parents is 234 now, but it will grow,, the data file has much redundant data where parents and children have many redundant/extra variables which will not appear in output.. the max size of...
2,381
Posted By jalaj841
Can I do this with code? Since the data file has...
Can I do this with code? Since the data file has 800 million records, it is impossible to do this manually, sorry for so many questions.
2,381
Posted By jalaj841
Thank you disedorgue, does your code require any...
Thank you disedorgue, does your code require any sorting of the first or second files?
I`m running this on a huge dataset and getting weird output for some pair of parents.
2,381
Posted By jalaj841
wow..unbelievable, thank you from my...
wow..unbelievable, thank you from my heart..never thought it will require so much time and effort..

I will do testing and then confirm results...meanwhile if you can also post a short description...
2,381
Posted By jalaj841
Match child with parents and form matrix
thank you for letting me join this forum, lots of learning opportunities looks like.
Myself a biologist, very new into unix, so please excuse if I use incorrect language. I am using cygwin on...
Showing results 1 to 12 of 12

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