Search Results

Search: Posts Made By: jacobs.smith
17,041
Posted By jacobs.smith
Hi R.Singh, I checked it with the input...
Hi R.Singh,

I checked it with the input file.

But the number of lines in the output.txt doesn't reach to be 127.

I guess, it is printing only the values where there is a common or unique...
17,041
Posted By jacobs.smith
You are a legend R.Singh. Thank you!
You are a legend R.Singh. Thank you!
17,041
Posted By jacobs.smith
Thanks Rudic. But I would like to make it...
Thanks Rudic.

But I would like to make it dynamic.

The post example has 3 sets. But my actual input file has numerous sets.

Can you please share any comments on how I can edit your solution?
17,041
Posted By jacobs.smith
I am loving your questions. Glad to learn. ...
I am loving your questions.

Glad to learn.

Here is a way I tried. But it has two disadvantages.

One - I can only do three sets. But my actual input has 7 and even more.

Two - I cannot...
17,041
Posted By jacobs.smith
My apologies Rudic. If the value is "1" in...
My apologies Rudic.

If the value is "1" in any set, that means a presence of value and it should be counted.

If the value is "0" in any set, that means an absent and it should not be counted.
...
17,041
Posted By jacobs.smith
Thank you folks - @Yoda @RavinderSingh13 and...
Thank you folks - @Yoda @RavinderSingh13 and @Rudic.

Can I also get the intersection list into another file?

Intersectionlist.txt
Set1_unique=2
Set2_unique=1
Set3_unique=2
Set12_common=1...
17,041
Posted By jacobs.smith
Venn Data Maker
Hi,

My input is like this

head input.txt
Set1,Set2,Set3
g1,g2,g3
g2,g1,g3,
g4,g5,g5
g1,g1,g1,
g2,g1,g1,
g6,g7,g8
,g7,g8
,,g8


My output file should be

Name,Set1,Set2,Set3...
Showing results 1 to 7 of 7

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