We discussed how fgets works or not depending on the end of line used in a file. (right?) So I wrote code using fgets and it worked and then it didn't. It worked when I ran the code from a terminal window in X11 but failed in Xcode. I will be running this on X11 so I'm not going to worry about it but I'm curious if anybody can explain this.