you don't have to use awk, egrep  -v will suffice....  $symdev -sid xxxx  show 1234  | grep -w "FA" | egrep -v "9a:0|8a:0" | awk '{ print $4,$5,$9}' FA 07C:1 114 FA 10C:1 114 $
I have a question on awk.  I need to unmap some of the devices from the FAs  using the below line to eliminate the FAs which I want to keep. but it is not working as desired. can any one help me with this awk statement?  symdev -sid XX show $i | grep FA | awk ' $5 != "9a:0" || $5 !="8a:0" {print $4,$5,$9}'
awk question using symcli commands