I need help to compare 2 variable values based on the 1st variable.
example-
$a=
Name VLanId
---- ------
VM Network 0
VL600_ACC 600
VL602_SEC2 602
$b=
Name VLanId
---- ------
VM Network 0
VL600_ACC 600
VM-VLAN 102
VL602_SEC2 602
So in this case I want to compare $a with $b and if all the $a values are in $b then it should show pass else fail.