You could have found that yourself if you printed out the lines as your program went through them, or if you added the text of the line to your error message.
In reply to Re^5: Bad file descriptor error
by Corion
in thread Bad file descriptor error
by zing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |