set IFS while read a b c d e f [ $b = $c ]&&echo $b||echo $e end