Whats wrong with this statement? if ${arrMAC[$i] -eq ""} then arrMAC[$i]="This Host" else echo ${arrMAC[$i]} fi