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