0

I have a simple bash script that does this:

while IFS= read line; do
  echo "$line"
done < company/employee.txt

The contents of the text file are:

id,name,height,age
bob,raph,188,35
jordan,billy,188,35

But the script only prints

id,name,height,age
bob,raph,188,35

Can anyone explain why?

Raph117
  • 3,441
  • 7
  • 29
  • 50

0 Answers0