I have 2 arrays and I want to compare and only print the non-valid macs in red/bold. The valid macs array will always be constant. I tried comparing 1 element at a time but doesn't work as it would still pick up valid array elements. Any help would be appreciated.
valid macs
90:40:95:29:C4:81
88:E9:10:20:49:8B
F0:F6:1C:9E:50:70
Log file with valid and invalid macs
[highlight #EF2929]1B:BB:1C:7D:34:77[/highlight]
88:E9:10:20:49:8B
F0:F6:1C:9E:50:70
[highlight #EF2929]F8:8A:2C:5F:FD:49[/highlight]
90:40:95:29:C4:81
valid macs
90:40:95:29:C4:81
88:E9:10:20:49:8B
F0:F6:1C:9E:50:70
Log file with valid and invalid macs
[highlight #EF2929]1B:BB:1C:7D:34:77[/highlight]
88:E9:10:20:49:8B
F0:F6:1C:9E:50:70
[highlight #EF2929]F8:8A:2C:5F:FD:49[/highlight]
90:40:95:29:C4:81