Search Results

Search: Posts Made By: mohamad
1,752
Posted By mohamad
Hi yoda, Thanks for your code. When I try...
Hi yoda,

Thanks for your code. When I try your code for my original file(9 columns , around 1000 lines), I get the incorrect number of connections for some persons. But code works well with less...
1,752
Posted By mohamad
Hi jotne, Thanks for your comment. I also...
Hi jotne,

Thanks for your comment. I also need to count the connections of persons in the second column. susan has connection with ali. In the same way, ali has also connection with susan. ali's...
1,752
Posted By mohamad
Hi pamu, Thanks for your code. Your code's...
Hi pamu,

Thanks for your code. Your code's output is different from my desired output. susan's connections should print on the same line. rex has two connections. It doesn't print. The total...
1,752
Posted By mohamad
How to count the number of strings?
Hi,

I have a text file as shown below. I would like to count the unique number of connections of each person in the first and second column. Third column is the ID numbers of first column persons...
2,384
Posted By mohamad
hi scrutinizer, Excellent!! code works...
hi scrutinizer,

Excellent!! code works well. Thank you so much for your help!!
2,384
Posted By mohamad
Extracting lines from text files in folder based on the numbers in another file
Hello,

I have a file ff.txt that looks as follows

*ABNA.txt
356
24
36
112
*AC24.txt
457
458
321
2

ABNA.txt and AC24.txt are the files in the folder named foo1. Based on the numbers...
Showing results 1 to 6 of 6

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