Is there a way to use awk or python to check patterns, in our group we have 120,000 lines messages but what to know who replies after who the most;
Consider the following lines;
- AA
- BB
- AA
- CC
- AA
- BB
- AA
- AA
- AA
- BB
- CC
- AA
I would want the result to show
- AA->BB = 3
- BB->AA = 2
- AA->CC = 1
- CC->AA = 2
- AA->CC = 1
- BB->CC = 1
- CC->BB = 0