while read line stops after first iteration [duplicate] while read line stops after first iteration [duplicate] unix unix