Timeline for Check info in each line on a specific set of columns in one variable against all lines in three specific columns in another variable using awk
Current License: CC BY-SA 4.0
        9 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 11, 2022 at 20:53 | vote | accept | Giles | ||
| May 11, 2022 at 20:45 | comment | added | Giles | @Cbhihe No because neither 51 or 59 sit between any numbers on a single line from $ListToCheckAgainst | |
| May 11, 2022 at 20:28 | answer | added | Ed Morton | timeline score: 1 | |
| May 11, 2022 at 20:19 | comment | added | Cbhihe | 
        
            
    According to your first bullet point, the output should consist of line C,22,24 through to line C,13,18 (5 lines in total starting from line 2 of variable: ListToCheckFrom. It is because you wrote "... to the corresponding columns of any one line from ${ListToCheckAgainst}."  or did you mean "of the corresponding line of ${ListToCheckAgainst}" ? The desired output you show seems to indicate that was your intent.
        
     | 
|
| May 11, 2022 at 20:12 | comment | added | Cbhihe | Do you need to have your 2 list contents kept in strings or can they be replaced by one file each with same content ? | |
| May 11, 2022 at 18:38 | history | edited | terdon♦ | CC BY-SA 4.0 | 
        
            
             
                
                    added 22 characters in body; edited tags 
                
             
        
     | 
| May 11, 2022 at 18:08 | history | edited | Giles | CC BY-SA 4.0 | 
        
            
             
                
                    added 36 characters in body 
                
             
        
     | 
| May 11, 2022 at 17:59 | history | edited | Giles | CC BY-SA 4.0 | 
        
            
             
                
                    added 22 characters in body 
                
             
        
     | 
| May 11, 2022 at 17:54 | history | asked | Giles | CC BY-SA 4.0 |