unix: while != for

for loops don't start with while, @cyphar.