Reading input files by line using read command in shell scripting skips last line Reading input files by line using read command in shell scripting skips last line shell shell