Search Results

Search: Posts Made By: abh.kumar
883
Posted By abh.kumar
Map new file to old file
Hellos,

Some columns of a file have undergone name changes from old to new format,
to run some of the scripts I need to revert back and rearrange these columns from the new to the old format.

...
916
Posted By abh.kumar
yes i am getting syntax errors Rudic. I ran my...
yes i am getting syntax errors Rudic. I ran my script. I tried some other variations of it as well, but cant seem to apply the array of array logic. What I am trying to do is put the first column in...
916
Posted By abh.kumar
Checking data with source
I can derive a group from 2 sources

Group Table
Derived Source1 Source2
BAC GA1 TR
HGT FG1 RF2


If a variable between both sources match in the value (col3) then the variable in the derived...
1,147
Posted By abh.kumar
My oversight, you are right... except the red...
My oversight, you are right... except the red row, because K doesnt have 4 common with that bunch..

4 A v1,v2,v3,v4
4 F v3,v2,v1,v4,v6,v8
4 K v1,v12,v2,v3,v4

4 B v6,v7,v1,v2
4 C...
1,147
Posted By abh.kumar
Thanks, I`ll run this now
Thanks, I`ll run this now
1,147
Posted By abh.kumar
Find all possible intersecting sets of cardinality 3 or more
Hi Gurus.

Please consider the following problem where col1 is the set name and col2 is comma delimited elements in the corresponding set.

I have about 2600 such rows.

In:A v1,v2,v3,v4
B...
2,071
Posted By abh.kumar
Thanks a lot to the both of you..this will not...
Thanks a lot to the both of you..this will not only help me, but several others in future
2,071
Posted By abh.kumar
Merge csvs with column headers
hello gurus,

Somebody must have done this before, I couldn't find anything. Please redirect me if this was solved before, and if not please help.


To the problem now, I have multiple csv...
1,089
Posted By abh.kumar
Match 2 patterns together
How can I quickly print out lines in a datafile which has presence of both patterns in a row of another file. Maybe awk can do it much faster than bash.


Patternfile


ID1 PAT11 PAT12
ID1...
1,320
Posted By abh.kumar
Thank you RudiC. Please help with one more thing...
Thank you RudiC. Please help with one more thing that I had mentioned, the column ordering must be the same in both files. In this case , we can use sorted ordering, S1, S2, S3 , S4 for both files....
1,320
Posted By abh.kumar
Transpose matrix, and rearrange columns common with another file
This is my first post, I apologize if I have broken rules.
Some assistance with the following will be very helpful.


I have a couple of files, both should ultimately have common columns only,...
Showing results 1 to 11 of 11

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