I tried to extract the actors' names and use them as keys using a file i created:
NF==3 {print $2 $1, $0}
NF==4 {print $3 $1 $2, $0}
Now I tried to sort them but I totally lost on the looping structure. Here is my second
file I created to code the loop
NF==3 {print $2 $1, $0}
NF==4 {print $3...