Talk:While loop
From Linux Shell Scripting Tutorial - A Beginner's handbook
Setting IFS to null in the third example turns off word splitting which makes the second example not work. "IFS=" should be omitted.