Learn more about cloning repositories
You have read-only access
There was a missing ! on strcmp (despite the fact it worked in my testing, I have no idea _how_), and a simpler fix for the extra \n problem. I tested this and it worked for me, for what that's worth...