Home
Man
Search
Today's Posts
Register

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: jacobs.smith
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
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...
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
Posted By jacobs.smith
You are a legend R.Singh. Thank you!

You are a legend R.Singh. Thank you!
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
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?
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
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...
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
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.
...
Forum: Emergency UNIX and Linux Support 08-19-2016
Replies: 18
Views: 1,885
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...
Forum: Emergency UNIX and Linux Support 08-18-2016
Replies: 18
Views: 1,885
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,
Showing results 1 to 7 of 7

 


All times are GMT -4. The time now is 12:02 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password