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
  • 2,815
  • 5
  • 20
  • 39

0 Answers0